feat: use per-cpu sections

This commit is contained in:
Loïc Grégoire
2026-03-23 20:29:34 -04:00
parent 33c796c958
commit 020e81f34b
14 changed files with 235 additions and 117 deletions
+14
View File
@@ -0,0 +1,14 @@
SECTIONS {
.data.percpu : {
__percpu_start = .;
*(.data.percpu)
__percpu_end = .;
}
.percpu_init_array : {
__init_array_percpu_start = .;
KEEP(*(.percpu_init_array))
__init_array_percpu_end = .;
}
} INSERT AFTER .data;