diff options
author | 2021-12-12 06:52:41 +0000 | |
---|---|---|
committer | 2022-01-06 12:27:28 +0100 | |
commit | b01af5c0b0414f96e6c3891e704d1c40faa18813 (patch) | |
tree | 0ca12daa8bfedb0f814c63a647aac4a0498a74e9 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | bootmem: Use page->index instead of page->freelist (diff) | |
download | wireguard-linux-b01af5c0b0414f96e6c3891e704d1c40faa18813.tar.xz wireguard-linux-b01af5c0b0414f96e6c3891e704d1c40faa18813.zip |
mm/slob: Remove unnecessary page_mapcount_reset() function call
After commit 401fb12c68c2 ("mm/sl*b: Differentiate struct slab fields by
sl*b implementations"), we can reorder fields of struct slab depending
on slab allocator.
For now, page_mapcount_reset() is called because page->_mapcount and
slab->units have same offset. But this is not necessary for struct slab.
Use unused field for units instead.
Signed-off-by: Hyeonggon Yoo <42.hyeyoo@gmail.com>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Link: https://lore.kernel.org/r/20211212065241.GA886691@odroid
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions