aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorVlastimil Babka <[email protected]>2021-10-26 16:35:02 +0200
committerVlastimil Babka <[email protected]>2022-01-06 12:26:01 +0100
commit45387b8c14143623dfe905b5260836f9d62e1371 (patch)
tree3be8a7b7ab46f64f54abfdef833488defa4f8537 /net/lapb/lapb_timer.c
parentfb012e278dbfc80194bf34c7ade4f261bbc747ea (diff)
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 <[email protected]> Reviewed-by: Roman Gushchin <[email protected]> Reviewed-by: Hyeonggon Yoo <[email protected]> Tested-by: Hyeonggon Yoo <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions