Skip to contentSkip to conversation

mm:do recheck for freeable page in reclaim path

RFC Minchan Kim 1 participant 1 message Mar 19, 2015 Memory management

lore
Share & tools
lore
#0 lore raw

Do not send your patch to this thread. It's second time. Your patch is totally irrelevant to this patchset. Send your patch as another thread.

Quoted 4 lines · Yalin

In reclaim path, if encounter a freeable page,
the try_to_unmap may fail, because the page's pte is dirty, we can recheck this page as normal non-freeable page, this means we can swap out this page into swap partition.

Pz, Pz, Pz write down more detail in description.

You mean page_check_references in shrink_page_list decided it as freeable page but try_to_unmap failed because someone touched the page during the race window between page_check_references and try_to_unmap in shrink_page_list?

If so, it's surely recent referenced page so it should be promoted to active list.

If I missed something, please write it down more detail in description and send a patch as new thread, not sending it to this patchset thread.

Signature · 8 lines
Kind regards,
Minchan Kim

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>