Re: [PATCH] mm: avoid dirtying shared mappings on mlock

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Arjan van de Ven
Date: Friday, October 12, 2007 - 7:53 am

On Fri, 12 Oct 2007 12:50:22 +0200

well... there's another consideration
people use mlock() in cases where they don't want to go to the
filesystem for paging and stuff as well (think the various iscsi
daemons and other things that get in trouble).. those kind of uses
really use mlock to avoid
1) IO to the filesystem
2) Needing memory allocations for pagefault like things
at least for the more "hidden" cases...

prefaulting everything ready pretty much gives them that... letting
things fault on demand... nicely breaks that.
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] mm: avoid dirtying shared mappings on mlock, Nick Piggin, (Thu Oct 11, 10:07 am)
Re: [PATCH] mm: avoid dirtying shared mappings on mlock, Nick Piggin, (Thu Oct 11, 11:14 am)
Re: [PATCH] Don't needlessly dirty mlocked pages when init ..., Suleiman Souhlal, (Thu Oct 11, 11:50 pm)
[PATCH] mm: avoid dirtying shared mappings on mlock, Peter Zijlstra, (Fri Oct 12, 2:03 am)
Re: [PATCH] mm: avoid dirtying shared mappings on mlock, Peter Zijlstra, (Fri Oct 12, 3:37 am)
Re: [PATCH] mm: avoid dirtying shared mappings on mlock, Peter Zijlstra, (Fri Oct 12, 3:50 am)
Re: [PATCH] mm: avoid dirtying shared mappings on mlock, Arjan van de Ven, (Fri Oct 12, 7:53 am)
Re: [PATCH] mm: avoid dirtying shared mappings on mlock, Peter Zijlstra, (Fri Oct 12, 7:58 am)
Re: [PATCH] mm: avoid dirtying shared mappings on mlock, Suleiman Souhlal, (Fri Oct 12, 10:45 am)
Re: [PATCH] mm: avoid dirtying shared mappings on mlock, Arjan van de Ven, (Fri Oct 12, 10:53 am)
Re: [PATCH] mm: avoid dirtying shared mappings on mlock, Peter Zijlstra, (Fri Oct 12, 11:02 am)