lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 11 Dec 2007 21:35:56 -0800
From:	Greg KH <gregkh@...e.de>
To:	Dhaval Giani <dhaval@...ux.vnet.ibm.com>
Cc:	lkml <linux-kernel@...r.kernel.org>, Ingo Molnar <mingo@...e.hu>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Srivatsa Vaddagiri <vatsa@...ux.vnet.ibm.com>,
	Balbir Singh <balbir@...ibm.com>
Subject: Re: [PATCH] Add Documentation for FAIR_USER_SCHED sysfs files

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@...ux.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@...ux.vnet.ibm.com>
> +		Srivatsa Vaddagiri <vatsa@...ux.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ