login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
10
Re: [PATCH sched-devel] Generate uevents for user creation/destruction
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Ingo Molnar <mingo@...>
To: Srivatsa Vaddagiri <vatsa@...>
Cc: Heiko Carstens <heiko.carstens@...>, Dhaval Giani <dhaval@...>, Mike Galbraith <efault@...>, Peter Zijlstra <a.p.zijlstra@...>, Dmitry Adamushko <dmitry.adamushko@...>, lkml <linux-kernel@...>, <maneesh@...>, Andrew Morton <akpm@...>, Sudhir Kumar <skumar@...>
Subject:
Re: [PATCH sched-devel] Generate uevents for user creation/destruction
Date: Wednesday, October 10, 2007 - 3:42 am
* Srivatsa Vaddagiri <vatsa@linux.vnet.ibm.com> wrote:
quoted text
> > Shouldn't that be done via uevents? E.g. UID x gets added to the > > sysfs tree, generates a uevent and a script then figures out the > > cpu_share and sets it. That way you also don't need to keep the > > directories. No? > > Heiko, > Thanks for the hint. Here's a patch to enable generation of > uevents for user creation/deletion. These uevents can be handled in > userspace to configure a new user's cpu share. > > Note : After bootup I could test that new user's cpu share is > configured as per a configuration file (/etc/user_cpu_share.conf). > However this mechanism didnt work for root user. Perhaps uevent for > root user is generated way too early? > > A HOWTO text file is also attached explaining how to make use of these > uevents in userspace. > > Ingo, > This patch applies on top of latest sched-devel tree. Pls > review and apply ..
thanks, applied. This looks reassuringly simple and straightforward! Ingo -
unsubscribe notice
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/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[RFC/PATCH] Add sysfs control to modify a user's cpu share
, Dhaval Giani
, (Mon Oct 1, 10:04 am)
Re: [RFC/PATCH] Add sysfs control to modify a user's cpu share
, Dave Jones
, (Mon Oct 1, 12:12 pm)
Re: [RFC/PATCH] Add sysfs control to modify a user's cpu share
, Srivatsa Vaddagiri
, (Mon Oct 1, 12:37 pm)
Re: [RFC/PATCH] Add sysfs control to modify a user's cpu share
, Ingo Molnar
, (Mon Oct 1, 10:44 am)
[RFC/PATCH -v2] Add sysfs control to modify a user's cpu share
, Dhaval Giani
, (Wed Oct 3, 1:10 pm)
Re: [RFC/PATCH -v2] Add sysfs control to modify a user's cpu...
, Ingo Molnar
, (Thu Oct 4, 3:57 am)
Re: [RFC/PATCH -v2] Add sysfs control to modify a user's cpu...
, Heiko Carstens
, (Thu Oct 4, 4:54 am)
[PATCH sched-devel] Generate uevents for user creation/destr...
, Srivatsa Vaddagiri
, (Tue Oct 9, 11:12 am)
Re: [PATCH sched-devel] Generate uevents for user creation/d...
, Ingo Molnar
, (Wed Oct 10, 3:42 am)
Re: [RFC/PATCH -v2] Add sysfs control to modify a user's cpu...
,
, (Thu Oct 4, 5:32 pm)
Re: [RFC/PATCH -v2] Add sysfs control to modify a user's cpu...
, Srivatsa Vaddagiri
, (Fri Oct 5, 3:01 am)
Re: [RFC/PATCH -v2] Add sysfs control to modify a user's cpu...
, Bill Davidsen
, (Thu Oct 4, 12:02 pm)
Re: [RFC/PATCH -v2] Add sysfs control to modify a user's cpu...
, Srivatsa Vaddagiri
, (Thu Oct 4, 1:20 pm)
Re: [RFC/PATCH] Add sysfs control to modify a user's cpu share
, Eric St-Laurent
, (Tue Oct 2, 6:12 pm)
Re: [RFC/PATCH] Add sysfs control to modify a user's cpu share
, Srivatsa Vaddagiri
, (Wed Oct 3, 12:09 am)
Re: [RFC/PATCH] Add sysfs control to modify a user's cpu share
, Srivatsa Vaddagiri
, (Mon Oct 1, 11:32 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Greg Kroah-Hartman
[PATCH 006/196] Chinese: add translation of oops-tracing.txt
Jan Engelhardt
intel iommu (Re: -mm merge plans for 2.6.23)
David Miller
Re: [PATCH] Stop pmac_zilog from abusing 8250's device numbers.
git
:
openbsd-misc
:
linux-netdev
:
David Miller
[GIT]: Networking
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Linus Torvalds
Re: iptables very slow after commit 784544739a25c30637397ace5489eeb6e15d7d49
Colocation donated by:
Who's online
There are currently
3 users
and
648 guests
online.
Online users
pauljones45
petshopsmd
ffff
Syndicate