Re: [RFC/PATCH -v2] Add sysfs control to modify a user's cpu share

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Valdis.Kletnieks
Date: Thursday, October 4, 2007 - 2:32 pm

On Thu, 04 Oct 2007 10:54:51 +0200, Heiko Carstens said:

That would tend to be a tad racy - a site may want to set limits in the
hypothetical /sys/kernel/uids/NNN before the program has a chance to fork-bomb
or otherwise make it difficult to set a limitfrom within another userspace
process.  It's similar to why you want a process to be launched with all its
ulimit's set, rather than set them after the fork/exec happens...
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [RFC/PATCH] Add sysfs control to modify a user's cpu share, Srivatsa Vaddagiri, (Mon Oct 1, 8:32 am)
Re: [RFC/PATCH] Add sysfs control to modify a user's cpu share, Srivatsa Vaddagiri, (Mon Oct 1, 9:37 am)
Re: [RFC/PATCH] Add sysfs control to modify a user's cpu share, Srivatsa Vaddagiri, (Tue Oct 2, 9:09 pm)
Re: [RFC/PATCH -v2] Add sysfs control to modify a user's c ..., Srivatsa Vaddagiri, (Thu Oct 4, 10:20 am)
Re: [RFC/PATCH -v2] Add sysfs control to modify a user's c ..., Valdis.Kletnieks, (Thu Oct 4, 2:32 pm)
Re: [RFC/PATCH -v2] Add sysfs control to modify a user's c ..., Srivatsa Vaddagiri, (Fri Oct 5, 12:01 am)
[PATCH sched-devel] Generate uevents for user creation/des ..., Srivatsa Vaddagiri, (Tue Oct 9, 8:12 am)