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>] [day] [month] [year] [list]
Message-Id: <cb013939c11991f429773b83a6ff1513221dd678.a11e9ded.5679.4468.8cc8.fe30e9b90f3f@feishu.cn>
Date: Wed, 15 Jan 2025 17:54:40 +0800
From: 余华兵 <yhb@...jie.com.cn>
To: "mingo@...hat.com" <mingo@...hat.com>, 
	"peterz@...radead.org" <peterz@...radead.org>
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: sched: Clarify PREEMPT is full preemption model

The configuration file "kernel/Kconfig. preempt" says that PREEMPT_RT is 
fully preemptible, but from the function preempt_model_full() it can be 
seen that PREEMPT is full preemption model.
--------------------------
kernel/Kconfig.preempt
config PREEMPT
        bool "Preemptible Kernel (Low-Latency Desktop)"

config PREEMPT_RT
        bool "Fully Preemptible Kernel (Real-Time)"

include/linux/preempt.h
static inline bool preempt_model_full(void)
{
        return IS_ENABLED(CONFIG_PREEMPT);
}
--------------------------

I suggest that the configuration file "kernel/Kconfig. preempt" should be 
consistent with the function preempt_model_full(). Modify the file 
"kernel/Kconfig.preempt" as follows.
------------------
config PREEMPT
        bool "Fully Preemptible Kernel (Low-Latency Desktop)"

config PREEMPT_RT
        bool "Real-time Kernel"
------------------

Content of type "text/html" skipped

Download attachment "Clarify-PREEMPT-is-full-preemption-model.patch" of type "application/octet-stream" (1895 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ