Messages in this thread | | | Date | Wed, 2 Aug 2000 20:14:51 +0800 | From | Andrey Savochkin <> | Subject | Re: 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/
| |