Re: mmap error?

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Gene Heskett <gene.heskett@...>
Cc: <linux-kernel@...>
Date: Monday, April 2, 2007 - 2:02 pm

On Apr 02, 2007, at 13:54:28, Gene Heskett wrote:

Well, that's not a limit on how much memory you can map, it's a limit  
on how many pages you can lock into memory (as in, cannot be swapped  
out or written back to disk and reused).  For low-latency  
applications (IE: cd burning) you need to have all memory mlocked so  
that you don't get a low-latency wakup and then promptly lose all  
latency guarantees by swapping madly, but something like CUPS doesn't  
have a problem because it doesn't use mlock() or mlockall().

Cheers,
Kyle Moffett

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
mmap error?, Gene Heskett, (Mon Apr 2, 10:30 am)
Re: mmap error?, Ken Moffat, (Mon Apr 2, 1:35 pm)
Re: mmap error?, Gene Heskett, (Mon Apr 2, 1:54 pm)
Re: mmap error?, Kyle Moffett, (Mon Apr 2, 2:02 pm)
Re: mmap error?, Gene Heskett, (Mon Apr 2, 3:35 pm)