Re: [PATCH 7/8] mm: compaction: Use the LRU to get a hint on where compaction should start

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

 



On Wed, 17 Nov 2010 16:22:48 +0000
Mel Gorman <mel@xxxxxxxxx> wrote:

> The end of the LRU stores the oldest known page. Compaction on the other
> hand always starts scanning from the start of the zone. This patch uses
> the LRU to hint to compaction where it should start scanning from. This
> means that compaction will at least start with some old pages reducing
> the impact on running processes and reducing the amount of scanning. The
> check it makes is racy as the LRU lock is not taken but it should be
> harmless as we are not manipulating the lists without the lock.
> 
> Signed-off-by: Mel Gorman <mel@xxxxxxxxx>

Hmm, does this patch make a noticable difference ?
Isn't it better to start scan from the biggest free chunk in a zone ?

Thanks,
-Kame

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxxx  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom policy in Canada: sign http://dissolvethecrtc.ca/
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]