mirror of
https://github.com/JakeHillion/drgn.git
synced 2024-12-22 01:03:07 +00:00
drgn.helpers.linux.mm: comment that vmap_nodes workaround also applies to !SMP
Signed-off-by: Omar Sandoval <osandov@osandov.com>
This commit is contained in:
parent
680b2d53f9
commit
d4da5d8173
@ -1129,9 +1129,9 @@ def _vmap_nodes(prog: Program) -> Object:
|
||||
try:
|
||||
return vmap_nodes.read_()
|
||||
except ObjectAbsentError:
|
||||
# On 32-bit kernels, vmap_nodes is initialized to &single and never
|
||||
# reassigned. GCC as of version 12.2 doesn't generate a location for
|
||||
# vmap_nodes description in that case.
|
||||
# On !SMP and 32-bit kernels, vmap_nodes is initialized to &single and
|
||||
# never reassigned. GCC as of version 12.2 doesn't generate a location
|
||||
# for vmap_nodes description in that case.
|
||||
return prog.variable("single", "mm/vmalloc.c").address_of_()
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user