phk malloc, was (Re: ptmalloc2)
    Chris Pressey 
    cpressey at catseye.mine.nu
       
    Sat Feb 26 15:32:37 PST 2005
    
    
  
On Sat, 26 Feb 2005 14:27:13 -0500
Gary Thorpe <gathorpe79 at xxxxxxxxx> wrote:
> And the point we keep coming back to is that it is impossible for an 
> application to accurately self regulate its resource usage (unless you
> mean allowing command line flags to specify how much memory to use
> [why  not just set rlimits instead]) since it does not receive
> accurate  feedback from the kernel when over commit is allowed.
man mlock(1):
     [EAGAIN]      Locking the indicated range would exceed either the
                   system or per-process limit for locked memory.
Is that not accurate feedback?
-Chris
    
    
More information about the Kernel
mailing list