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:	Thu, 18 Sep 2014 19:29:44 +0200
From:	Peter Zijlstra <peterz@...radead.org>
To:	Dave Hansen <dave@...1.net>
Cc:	mingo@...nel.org, hpa@...ux.intel.com, brice.goglin@...il.com,
	bp@...en8.de, linux-kernel@...r.kernel.org,
	dave.hansen@...ux.intel.com
Subject: Re: [RFC][PATCH 6/6] sched: consolidate config options

On Wed, Sep 17, 2014 at 03:33:20PM -0700, Dave Hansen wrote:
> diff -puN /dev/null kernel/sched/Kconfig
> --- /dev/null	2014-04-10 11:28:14.066815724 -0700
> +++ b/kernel/sched/Kconfig	2014-09-17 15:28:58.620622789 -0700
> @@ -0,0 +1,42 @@
> +config ARCH_ENABLE_SCHED_MC
> +	depends on SMP
> +	def_bool n
> +
> +config ARCH_ENABLE_SCHED_BOOK
> +	depends on SMP
> +	def_bool n
> +
> +config ARCH_ENABLE_SCHED_SMT
> +	depends on SMP
> +	def_bool n
> +
> +config SCHED_MC
> +	bool "Multi-core scheduler support"
> +	default n if s390
> +	default y
> +	depends on ARCH_ENABLE_SCHED_MC
> +	help
> +	  Multi-core scheduler support improves the CPU scheduler's decision
> +	  making when dealing with multi-core CPU chips at a cost of slightly
> +	  increased overhead in some places. If unsure say N here.
> +
> +config SCHED_BOOK
> +	def_bool y
> +	prompt "Book scheduler support"
> +	depends on ARCH_ENABLE_SCHED_BOOK
> +	select SCHED_MC
> +	help
> +	  Book scheduler support improves the CPU scheduler's decision making
> +	  when dealing with machines that have several books.
> +
> +	  Currenltly only used on s390 which has only a single NUMA node.
> +	  Books are collections of CPUs that are grouped similarly to a NUMA
> +	  node, but without the same memory properites that NUMA nodes have.

Nothing outside of s390 knows about SCHED_BOOK, it doesn't make sense to
have that here.

> +config SCHED_SMT
> +	bool "SMT scheduler support"
> +	depends on ARCH_ENABLE_SCHED_SMT
> +	help
> +	  Improves the CPU scheduler's decision making when dealing with
> +	  MultiThreading at a cost of slightly increased overhead in some
> +	  places. If unsure say N here.
> _
--
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