lkml.org 
[lkml]   [2011]   [Oct]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH -v2 -mm] add extra free kbytes tunable
On Thu, 13 Oct 2011, Rik van Riel wrote:

> Userspace cannot be responsible, for the simple reason that
> the allocations might be done in the kernel.
>
> Think about an mlocked realtime program handling network
> packets. Memory is allocated when packets come in, and when
> the program calls sys_send(), which causes packets to get
> sent.
>
> I don't see how we can make userspace responsible for
> kernel-side allocations.
>

All of this is what Minchan was proposing by allowing a mempool of kernel
memory to be preallocated and managed by the memory controller.


\
 
 \ /
  Last update: 2011-10-14 00:05    [W:0.088 / U:0.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site