Thread (180 messages) 180 messages, 22 authors, 2006-08-22

Re: [take6 1/3] kevent: Core files.

From: Andrew Morton <hidden>
Date: 2006-08-10 08:03:41
Also in: lkml

On Thu, 10 Aug 2006 11:50:47 +0400
Evgeniy Polyakov [off-list ref] wrote:
quoted
Afaict this mmap function gives a user a free way of getting pinned memory. 
What is the upper bound on the amount of memory which a user can thus
obtain?
it is limited by maximum queue length which is 4k entries right now, so
maximum number of paged here is 4k*40/page_size, i.e. about 40 pages on
x86.
Is that per user or per fd?  If the latter that is, with the usual
RLIMIT_NOFILE, 160MBytes.  2GB with 64k pagesize.  Problem ;)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help