]> www.infradead.org Git - users/willy/pagecache.git/commit
mm/page_alloc: Cache page_zone() result in free_unref_page()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 9 Aug 2022 15:46:56 +0000 (11:46 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 3 Jan 2023 14:00:32 +0000 (09:00 -0500)
commit1d1ffc69f9bd0be8964404a7e65af1fbf1c386f3
treee6fd4a1419fb0e2afc5e72365e590855730d4e54
parent8575cb0795d6ddfd4492e29ca0b9fcafda771cc8
mm/page_alloc: Cache page_zone() result in free_unref_page()

Save 17 bytes of text by calculating page_zone() once instead of twice.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
mm/page_alloc.c