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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ingo Molnar
Date: Monday, October 1, 2007 - 7: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, Ingo Molnar, (Mon Oct 1, 7:44 am)
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 ..., 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)