Re: [RFC PATCH 3/3] mm: Identify compound pages sooner in isolate_migratepages_block

2020-08-14 Thread Alex Shi
It has a slight performance drop too... Thanks Alex 在 2020/8/13 下午12:02, Alexander Duyck 写道: > Signed-off-by: Alexander Duyck > --- > mm/compaction.c | 33 ++--- > 1 file changed, 18 insertions(+), 15 deletions(-)

[RFC PATCH 3/3] mm: Identify compound pages sooner in isolate_migratepages_block

2020-08-12 Thread Alexander Duyck
From: Alexander Duyck Since we are holding a reference to the page much sooner in isolate_migratepages_block we could move the PageCompound check out of the LRU locked section and instead just place it after get_page_unless_zero. By doing this we can allow any of the items that might trigger a fa