LWN.net Logo

Memory compaction

Memory compaction

Posted Jan 7, 2010 7:13 UTC (Thu) by johill (subscriber, #25196)
In reply to: Memory compaction by eparis123
Parent article: Memory compaction

I can't really answer the question, but I don't think it matters for the "selling argument" at hand?

Both swapping out a page and freeing something that was recently used has performance impacts, so if you can get away with doing less of that while simultaneously reducing memory fragmentation, that seems like a good thing.

What, as I understand it, Jon says is that if the code finds a page it would like to move, which it cannot do, but it can reclaim that page, it will do that instead of moving it, thereby also freeing it for the contiguous memory block it is creating.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds