From: Greg KH <gregkh@suse.de>
To: Dhaval Giani <dhaval@linux.vnet.ibm.com>
Cc: lkml <linux-kernel@vger.kernel.org>, Ingo Molnar <mingo@elte.hu>,
Andrew Morton <akpm@linux-foundation.org>,
Srivatsa Vaddagiri <vatsa@linux.vnet.ibm.com>,
Balbir Singh <balbir@in.ibm.com>
Subject: Re: [PATCH] Add Documentation for FAIR_USER_SCHED sysfs files
Date: Tue, 11 Dec 2007 21:35:56 -0800 [thread overview]
Message-ID: <20071212053556.GA25334@suse.de> (raw)
In-Reply-To: <20071212023836.GB1486@linux.vnet.ibm.com>
On Wed, Dec 12, 2007 at 08:08:36AM +0530, Dhaval Giani wrote:
>
> This patch adds documentation about /sys/kernel/uids/<uid>/cpu_share
> to Documentation/ABI.
>
> Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com>
>
> ---
> Documentation/ABI/testing/sysfs-kernel-uids | 10 ++++++++++
> 1 files changed, 10 insertions(+)
>
> Index: current/Documentation/ABI/testing/sysfs-kernel-uids
> ===================================================================
> --- /dev/null
> +++ current/Documentation/ABI/testing/sysfs-kernel-uids
> @@ -0,0 +1,10 @@
> +What: /sys/kernel/uids/<uid>/cpu_shares
> +Date: December 2007
> +Contact: Dhaval Giani <dhaval@linux.vnet.ibm.com>
> + Srivatsa Vaddagiri <vatsa@linux.vnet.ibm.com>
> +Description:
> + The /sys/kernel/uids/<uid>/cpu_shares tunable is used
> + to set the cpu bandwidth a user is allowed. This is a
> + propotional value. What that means is that if there
> + are two users logged in, each with shares 1024, they
> + will get equal CPU bandwidth.
Hm, how about describing the units here? Can you put "10" in each file
and everyone will get the same share? 100? 1? 1024 seems like an odd
"share" number. Unless there is some other document you wish to refer
people to do help describe these values?
thanks,
greg k-h
next prev parent reply other threads:[~2007-12-12 5:33 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-12 2:38 [PATCH] Add Documentation for FAIR_USER_SCHED sysfs files Dhaval Giani
2007-12-12 5:35 ` Greg KH [this message]
2007-12-12 5:48 ` Dhaval Giani
2007-12-12 9:58 ` Ingo Molnar
2007-12-12 10:16 ` Ingo Molnar
2007-12-14 22:24 ` Greg KH
2007-12-15 0:11 ` patch add-documentation-for-fair_user_sched-sysfs-files.patch added to gregkh-2.6 tree gregkh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071212053556.GA25334@suse.de \
--to=gregkh@suse.de \
--cc=akpm@linux-foundation.org \
--cc=balbir@in.ibm.com \
--cc=dhaval@linux.vnet.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=vatsa@linux.vnet.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox