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

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Dhaval Giani <dhaval@...>
Cc: Srivatsa Vaddagiri <vatsa@...>, Mike Galbraith <efault@...>, Peter Zijlstra <a.p.zijlstra@...>, Dmitry Adamushko <dmitry.adamushko@...>, lkml <linux-kernel@...>, <maneesh@...>, Andrew Morton <akpm@...>, Sudhir Kumar <skumar@...>
Date: Monday, October 1, 2007 - 10:44 am

hi Dhaval,

* Dhaval Giani <dhaval@linux.vnet.ibm.com> wrote:


looks good to me! I think this API is pretty straightforward. I've put 
this into my tree and have updated the sched-devel git tree:

 git://git.kernel.org/pub/scm/linux/kernel/git/mingo/linux-2.6-sched-devel.git

but there seems to be a bug in it, i get this:

 kobject_add failed for 500 with -EEXIST, don't try to register things with the same name in the same directory.
  [<c01e1730>] kobject_shadow_add+0x13b/0x169
  [<c01e1795>] kobject_set_name+0x28/0x91
  [<c01299d5>] user_kobject_create+0x6a/0x90
  [<c0129d3c>] alloc_uid+0x141/0x181
  [<c012d05c>] set_user+0x1c/0x91
  [<c012e4c7>] sys_setresuid+0xd9/0x17d
  [<c0103cf6>] sysenter_past_esp+0x5f/0x85
  =======================

	Ingo
-
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, 12:37 pm)
Re: [RFC/PATCH] Add sysfs control to modify a user's cpu share, Ingo Molnar, (Mon Oct 1, 10:44 am)
[PATCH sched-devel] Generate uevents for user creation/destr..., Srivatsa Vaddagiri, (Tue Oct 9, 11:12 am)
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..., Srivatsa Vaddagiri, (Thu Oct 4, 1:20 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)