login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
September
»
25
Re: [PATCH 1/3] Fix coding style
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Dhaval Giani <dhaval@...>
To: Ingo Oeser <ioe-lkml@...>
Cc: <vatsa@...>, Ingo Molnar <mingo@...>, <linux-kernel@...>, Peter Zijlstra <a.p.zijlstra@...>, Mike Galbraith <efault@...>, Dmitry Adamushko <dmitry.adamushko@...>, Andrew Morton <akpm@...>, <randy.dunlap@...>
Subject:
Re: [PATCH 1/3] Fix coding style
Date: Tuesday, September 25, 2007 - 10:03 pm
On Tue, Sep 25, 2007 at 09:16:20PM +0200, Ingo Oeser wrote:
quoted text
> On Tuesday 25 September 2007, Srivatsa Vaddagiri wrote: > > Index: current/kernel/sched_debug.c > > =================================================================== > > --- current.orig/kernel/sched_debug.c > > +++ current/kernel/sched_debug.c > > @@ -239,11 +239,7 @@ static int > > root_user_share_read_proc(char *page, char **start, off_t off, int count, > > int *eof, void *data) > > { > > - int len; > > - > > - len = sprintf(page, "%d\n", init_task_grp_load); > > - > > - return len; > > + return sprintf(page, "%d\n", init_task_grp_load); > > } > > > > static int > > @@ -297,7 +293,7 @@ static int __init init_sched_debug_procf > > pe->proc_fops = &sched_debug_fops; > > > > #ifdef CONFIG_FAIR_USER_SCHED > > - pe = create_proc_entry("root_user_share", 0644, NULL); > > + pe = create_proc_entry("root_user_cpu_share", 0644, NULL); > > if (!pe) > > return -ENOMEM; > > What about moving this debug stuff under debugfs? > Please consider using the functions in <linux/debugfs.h> . > They compile into nothing, if DEBUGFS is not compiled in > and have already useful functions for reading/writing integers > and booleans. >
Hi Ingo, This is not debug stuff. It is a tunable to give the root user more weight with respect to the other users. -- regards, Dhaval -
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:
[git] CFS-devel, latest code
, Ingo Molnar
, (Tue Sep 25, 10:44 am)
[PATCH 0/3] More group scheduler related fixes
, Srivatsa Vaddagiri
, (Tue Sep 25, 12:25 pm)
Re: [PATCH 0/3] More group scheduler related fixes
, Ingo Molnar
, (Tue Sep 25, 2:32 pm)
[PATCH 3/3] Fix other possible sources of latency issues
, Srivatsa Vaddagiri
, (Tue Sep 25, 12:37 pm)
[PATCH 2/3] Fix size bloat for !CONFIG_FAIR_GROUP_SCHED
, Srivatsa Vaddagiri
, (Tue Sep 25, 12:33 pm)
[PATCH 1/3] Fix coding style
, Srivatsa Vaddagiri
, (Tue Sep 25, 12:28 pm)
Re: [PATCH 1/3] Fix coding style
, Ingo Oeser
, (Tue Sep 25, 3:16 pm)
Re: [PATCH 1/3] Fix coding style
, Dhaval Giani
, (Tue Sep 25, 10:03 pm)
Re: [PATCH 1/3] Fix coding style
, Kyle Moffett
, (Tue Sep 25, 4:47 pm)
Re: [git] CFS-devel, latest code
, Srivatsa Vaddagiri
, (Tue Sep 25, 12:04 pm)
Re: [git] CFS-devel, latest code
, Srivatsa Vaddagiri
, (Tue Sep 25, 12:08 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
jjohansen
[AppArmor 39/45] AppArmor: Profile loading and manipulation, pathname matching
Vladislav Bolkhovitin
Re: Integration of SCST in the mainstream Linux kernel
Heiko Carstens
Re: -mm merge plans for 2.6.23 -- sys_fallocate
Andrew Morton
2.6.23-rc6-mm1
git
:
linux-netdev
:
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Evgeniy Polyakov
Re: [BUG] New Kernel Bugs
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
David Miller
[GIT]: Networking
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
1 user
and
623 guests
online.
Online users
ivy1234
Syndicate