lkml.org 
[lkml]   [2002]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectEnforcing RLIMIT_RSS?
Date
setrlimit(RLIMIT_AS, ...) can be used to limit the amount
of virtual memory an application uses, but the corresponding
call to limit physical memory, setrlimit(RLIMIT_RSS, ...),
is not implemented in the main tree.

Rik has implemented this feature several times in the past...
here's his 2.4.0 patch,
http://marc.theaimsgroup.com/?l=linux-kernel&m=97811999316400&w=2
and his 2.5.27 patch
http://marc.theaimsgroup.com/?l=linux-kernel&m=102719516200414&w=2

I need this feature on my embedded system, which uses 2.4.17 or so.
Is the 2.4.0 patch the best place to start, or has anyone
updated that patch for a more recent 2.4?

Thanks,
Dan

-
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-03-22 13:29    [W:0.060 / U:0.404 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site