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]
Message-ID: <20201009112643.GM4967@dhcp22.suse.cz>
Date:   Fri, 9 Oct 2020 13:26:43 +0200
From:   Michal Hocko <mhocko@...e.com>
To:     Peter Zijlstra <peterz@...radead.org>
Cc:     Thomas Gleixner <tglx@...utronix.de>,
        Frederic Weisbecker <fweisbecker@...e.de>,
        LKML <linux-kernel@...r.kernel.org>,
        Mel Gorman <mgorman@...e.de>, Ingo Molnar <mingo@...hat.com>
Subject: Re: [RFC PATCH] kernel: allow to configure PREEMPT_NONE,
 PREEMPT_VOLUNTARY on kernel command line

On Fri 09-10-20 13:17:04, Michal Hocko wrote:
[...]
> +config PREEMPT_DYNAMIC
> +	bool "Allow boot time preemption model selection"

	depends on !ARCH_NO_PREEMPT

> +	depends on PREEMPT_NONE || PREEMPT_VOLUNTARY
> +	help
> +	  This option allows to define the preemption model on the kernel
> +	  command line parameter and thus override the default preemption
> +	  model defined during compile time.
> +
> +	  The feature is primarily interesting for Linux distributions which
> +	  provide a pre-built kernel binary to reduce the number of kernel
> +	  flavors they offer while still offering different usecases.
> +
> +	  The runtime overhead is negligible with JUMP_LABELS enabled but if
> +	  runtime patching is not available for the specific architecture then
> +	  the potential overhead should be considered.
> +
> +	  Select if you the same pre-built kernel should be used for both Server
> +	  and Desktop workloads.
> +
>  config PREEMPT_COUNT
>         bool
-- 
Michal Hocko
SUSE Labs

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ