Re: [patch] mm, thp: do not perform sync compaction on pagefault

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2014-05-01 9:45 GMT+09:00 David Rientjes <rientjes@xxxxxxxxxx>:
> Synchronous memory compaction can be very expensive: it can iterate an enormous
> amount of memory without aborting and it can wait on page locks and writeback to
> complete if a pageblock cannot be defragmented.
> Unfortunately, it's too expensive for pagefault for transparent hugepages and
> it's much better to simply fallback to pages.  On 128GB machines, we find that
> synchronous memory compaction can take O(seconds) for a single thp fault.

Hello,

AFAIK, synchronous compaction doesn't wait the page on writeback.
sync compaction pass MIGRATE_SYNC_LIGHT for migrate_mode,
instead of MIGRATE_SYNC. It results in skipping the page on writeback.

Thanks.

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




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]