mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jonathan Corbet <corbet@lwn.net>
To: Quchaosheng <quchaosheng000406@163.com>
Cc: Shuah Khan <skhan@linuxfoundation.org>,
	Randy Dunlap <rdunlap@infradead.org>,
	Ingo Molnar <mingo@redhat.com>,
	Peter Zijlstra <peterz@infradead.org>,
	Sebastian Andrzej Siewior <bigeasy@linutronix.de>,
	linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org,
	quchaosheng000406@163.com
Subject: Re: [PATCH v2 1/2] sched/doc: add a preemption model overview
Date: Sat, 26 Sep 2026 09:45:17 -0600	[thread overview]
Message-ID: <87v77s2f02.fsf@trenco.lwn.net> (raw)
In-Reply-To: <20260922083101.99685-1-quchaosheng000406@163.com>

Quchaosheng <quchaosheng000406@163.com> writes:

> The scheduler documentation describes the individual scheduling classes
> and various tuning knobs, but there is nothing that describes the
> preemption models themselves.  The only place where they are documented
> is the kernel-parameters entry for "preempt=", which explains the boot
> time parameter but not the models it selects.
>
> Add Documentation/scheduler/sched-preemption.rst, covering the four
> models, how a scheduling request is honoured under each of them, and
> which of them can be selected at runtime.
>
> The overview follows the scheduling request: a wakeup makes a task
> runnable, the scheduler decides what has to leave the CPU and sets
> TIF_NEED_RESCHED or TIF_NEED_RESCHED_LAZY on it, and the preemption model
> decides where that request is honoured.
>
> Assisted-by: LLM
> Suggested-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
> Signed-off-by: Quchaosheng <quchaosheng000406@163.com>
> ---

I have applied these two patches.  However: can you please send a
followup with a suitable SPDX line for your new sched-preemption.rst
file?

Thanks,

jon

      parent reply	other threads:[~2026-09-26 15:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-22  8:31 Quchaosheng
2026-09-22  8:31 ` [PATCH v2 2/2] docs: kernel-parameters: fix a truncated sentence for preempt=lazy Quchaosheng
2026-09-23  7:31   ` Sebastian Andrzej Siewior
2026-09-23  7:28 ` [PATCH v2 1/2] sched/doc: add a preemption model overview Sebastian Andrzej Siewior
2026-09-26 15:45 ` Jonathan Corbet [this message]

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=87v77s2f02.fsf@trenco.lwn.net \
    --to=corbet@lwn.net \
    --cc=bigeasy@linutronix.de \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=peterz@infradead.org \
    --cc=quchaosheng000406@163.com \
    --cc=rdunlap@infradead.org \
    --cc=skhan@linuxfoundation.org \
    /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

all inboxes | Powered by JetHome®