aboutsummaryrefslogtreecommitdiff
path: root/mm/balloon_compaction.c
diff options
context:
space:
mode:
authorGravatar Vlastimil Babka <vbabka@suse.cz> 2021-10-26 16:35:02 +0200
committerGravatar Vlastimil Babka <vbabka@suse.cz> 2022-01-06 12:26:01 +0100
commit45387b8c14143623dfe905b5260836f9d62e1371 (patch)
tree3be8a7b7ab46f64f54abfdef833488defa4f8537 /mm/balloon_compaction.c
parentmm/slub: Convert print_page_info() to print_slab_info() (diff)
downloadlinux-45387b8c14143623dfe905b5260836f9d62e1371.tar.gz
linux-45387b8c14143623dfe905b5260836f9d62e1371.tar.bz2
linux-45387b8c14143623dfe905b5260836f9d62e1371.zip
mm/slub: Convert alloc_slab_page() to return a struct slab
Preparatory, callers convert back to struct page for now. Also move setting page flags to alloc_slab_page() where we still operate on a struct page. This means the page->slab_cache pointer is now set later than the PageSlab flag, which could theoretically confuse some pfn walker assuming PageSlab means there would be a valid cache pointer. But as the code had no barriers and used __set_bit() anyway, it could have happened already, so there shouldn't be such a walker. Signed-off-by: Vlastimil Babka <vbabka@suse.cz> Reviewed-by: Roman Gushchin <guro@fb.com> Reviewed-by: Hyeonggon Yoo <42.hyeyoo@gmail.com> Tested-by: Hyeonggon Yoo <42.hyeyoo@gmail.com>
Diffstat (limited to 'mm/balloon_compaction.c')
0 files changed, 0 insertions, 0 deletions