lkml.org 
[lkml]   [2005]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Nick's core remove PageReserved broke vmware...
On Thu, Nov 03, 2005 at 01:32:15PM +0000, Hugh Dickins wrote:
> On Thu, 3 Nov 2005, Gleb Natapov wrote:
> > On Thu, Nov 03, 2005 at 09:22:10AM +1100, Benjamin Herrenschmidt wrote:
> > > Also, what do you suggest as a good threshold to use on the max amount
> > > of memory I can let the X server "pin" that way ? I was thinking it as
> > > equivalent to mlock, thus I could maybe hijack mm->locked_vm & use
> > > RLIMIT_MEMLOCK or is that too gross ?
> > >
> > This is what infiniband does, so it should be good for you too.
>
> Yes, I noticed that code a couple of days ago, I think you're setting a
> good example there, for long-term or large-area uses of get_user_pages():
> Ben, take a look at drivers/infiniband/core/uverbs_mem.c
>
Credit goes to Roland Dreier :)

--
Gleb.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-11-03 15:05    [W:0.100 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site