Thread (38 messages) 38 messages, 7 authors, 2010-01-20

Re: [PATCH v6] add MAP_UNLOCKED mmap flag

From: Gleb Natapov <hidden>
Date: 2010-01-19 14:15:01
Also in: linux-mm, lkml

On Tue, Jan 19, 2010 at 11:07:23PM +0900, Minchan Kim wrote:
On Tue, 2010-01-19 at 09:52 +0200, Gleb Natapov wrote:
quoted
In my case (virtualization) I want to test/profile guest under heavy swapping
of a guests memory, so I intentionally create memory shortage by creating
You mean "guest memory" that is area emulated DRAM in qemu?
It is anonymous vma. 
quoted
guest much large then host memory, but I want system to swap out only
guest's memory.
Couldn't you use MADV_SEQUENTIAL on only guest memory area?
It doesn't make side effect about readahead since it's anon area. 
And it would make do best effort to swap out guest's memory.
I can try, should be better then nothing I guess. Doesn't guaranty that
emulator memory will not be swapped out though.

--
			Gleb.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help