Re: test6/pre1 hangs on boot

From: Andrey Savochkin (
Date: Wed Aug 02 2000 - 07:14:51 EST


Have you looked at user beancounter patch?
(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

Best regards

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
Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon Aug 07 2000 - 21:00:08 EST