|
|
Log in / Subscribe / Register

Replace PREEMPT_RT ifdefs with preempt_[dis|en]able_nested().

From:  Sebastian Andrzej Siewior <bigeasy-AT-linutronix.de>
To:  linux-kernel-AT-vger.kernel.org
Subject:  [PATCH v2 0/8] Replace PREEMPT_RT ifdefs with preempt_[dis|en]able_nested().
Date:  Thu, 25 Aug 2022 18:41:23 +0200
Message-ID:  <20220825164131.402717-1-bigeasy@linutronix.de>
Cc:  Thomas Gleixner <tglx-AT-linutronix.de>, Peter Zijlstra <peterz-AT-infradead.org>, Steven Rostedt <rostedt-AT-goodmis.org>, Linus Torvalds <torvalds-AT-linux-foundation.org>, Matthew Wilcox <willy-AT-infradead.org>
Archive-link:  Article

Folks,

this is v2 of "Replace PREEMPT_RT ifdefs with preempt_[dis|en]able_nested()."
The v1 is at
   https://lore.kernel.org/all/20220817162703.728679-1-bigea...

v1…v2:
   - The SLUB patch got s/use_lockless_fast_path/USE_LOCKLESS_FAST_PATH/ as
     Linus asked for and was handed over to Vlastimil and is sitting in his
     slab tree:
        https://git.kernel.org/vbabka/slab/c/591570a7

   - The compaction patch got an "depends on COMPACTION" so it is not listed
     .config if compaction is disabled (Rasmus Villemoes).

   - The removal of u64_stats_fetch_begin_irq() has been excluded from the
     series and staged for later. Jakub asked for this, so that it can be
     included in later merge window.

   - A patch for flex_proportions has been added which also needs a
     preempt_disable_nested() since the merge window.

Original cover letter:

this is the follow up to the "vfs.git pile 3 - dcache" pull request [0].
It was concluded that the introduction of
	preempt_disable_nested()

in general makes sense and should be used in places where preemption on
!RT is disabled by other means and PREEMPT_RT need to explicitly disable
it.

This series introduces the macro and converts already existing users to
that macro. The u64_stat interface was simplified to make the change
simpler and code easier to follow.

[0] https://lore.kernel.org/all/YurA3aSb4GRr4wlW@ZenIV/

Sebastian




Copyright © 2022, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds