mm: Bypass pcp when freeing MIGRATE_METADATA pages
pcp is a cache of pages for low-order allocations. MIGRATE_METADATA pages are taken from the free list as a last resort allocation (when the allocation allows it), but it can be quite common for them to end up on the pcp lists because they are freed when all the associated tagged pages are also freed. To keep them as a last resort allocation, which increases the chances that they will be free when they are needed to store metadata, make MIGRATE_METADATA metadata page freeing bypass the pcp cache to land directly on a free_list.
Loading
Please register or sign in to comment