Skip to content
Commit e9b9c277 authored by Alexandru Elisei's avatar Alexandru Elisei
Browse files

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.
parent 1f973b6f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment