[GIT PULL] ARM TIF_NOTIFY_SIGNAL fixup

Jens Axboe axboe at kernel.dk
Fri Jan 6 08:22:20 PST 2023


Hi Linus,

Hui Tang reported a performance regressions with _TIF_WORK_MASK in
newer kernels, which he tracked to a change that went into 5.11. After
this change, we'll call do_work_pending() more often than we need to,
because we're now testing bits 0..15 rather than just 0..7.

Shuffle the bits around to avoid this.

Please pull!


The following changes since commit 69b41ac87e4a664de78a395ff97166f0b2943210:

  Merge tag 'for-6.2-rc2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux (2023-01-02 11:06:18 -0800)

are available in the Git repository at:

  git://git.kernel.dk/linux.git tags/tif-notify-signal-2023-01-06

for you to fetch changes up to 191f8453fc99a537ea78b727acea739782378b0d:

  ARM: renumber bits related to _TIF_WORK_MASK (2023-01-04 07:55:02 -0700)

----------------------------------------------------------------
tif-notify-signal-2023-01-06

----------------------------------------------------------------
Jens Axboe (1):
      ARM: renumber bits related to _TIF_WORK_MASK

 arch/arm/include/asm/thread_info.h | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

-- 
Jens Axboe




More information about the linux-arm-kernel mailing list