lkml.org 
[lkml]   [2000]   [Aug]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: test6/pre1 hangs on boot
Linus,

Have you looked at user beancounter patch?
ftp://ftp.sw.com.sg/pub/Linux/people/saw/kernel/user_beancounter/UserBeancounter.html
ftp://ftp.sw.com.sg/pub/Linux/people/saw/kernel/user_beancounter/user_beancounter-IV-current
(against 2.4.0test1)

It is supposed to track per-user resources (or total resources of any subtree
of the process tree). One of the goals of the patch is protection from
different kinds of denial-of-service attacks (most famous are exhaustion of
physical memory by page tables, socket buffers etc).

User beancounter has several parts which overlaps your "struct user_struct"
improvements, and even have similar design.
One of the core design differences is that "user beancounter" is sticky and
is not changed when process changes its uid. It means that there are no
need to recharge non-trivial resources from old accounting entity to the new
one.

Best regards
Andrey

On Tue, Aug 01, 2000 at 10:43:02AM -0700, Linus Torvalds wrote:
> (The new "struct user_struct" allows for proper tracking of per-user
> resources, not just how many processes a user has, and that requried
> some changes in how it works).

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

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.044 / U:0.644 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site