<feed xmlns='http://www.w3.org/2005/Atom'>
<title>g/linux.git/kernel, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>https://bastion.nosebs.vip/g/linux.git/atom/kernel?h=master</id>
<link rel='self' href='https://bastion.nosebs.vip/g/linux.git/atom/kernel?h=master'/>
<link rel='alternate' type='text/html' href='https://bastion.nosebs.vip/g/linux.git/'/>
<updated>2026-11-15T23:52:04Z</updated>
<entry>
<title>rcu/nocb: Avoid unsequenced accesses to jiffies in show_rcu_nocb_state()</title>
<updated>2026-11-15T23:52:04Z</updated>
<author>
<name>Nathan Chancellor</name>
<email>nathan@kernel.org</email>
</author>
<published>2026-11-15T04:26:10Z</published>
<link rel='alternate' type='text/html' href='https://bastion.nosebs.vip/g/linux.git/commit/?id=c3f98ff6309a29979e1867bc3c9d4172755ca122'/>
<id>urn:sha1:c3f98ff6309a29979e1867bc3c9d4172755ca122</id>
<content type='text'>
After a recent improvement in clang to warn on unsequenced accesses to
volatile variables [1], an instance appears in show_rcu_nocb_state(),
which can break the build with CONFIG_WERROR=y / W=e:

  In file included from kernel/rcu/tree.c:5123:
  kernel/rcu/tree_nocb.h:1651:3: error: unsequenced accesses to volatile qualified 'jiffies' [-Werror,-Wunsequenced]
   1650 |                 jiffies - rdp-&gt;nocb_bypass_first,
        |                 ~~~~~~~
   1651 |                 jiffies - rdp-&gt;nocb_nobypass_last,
        |                 ^

Per C11 5.1.2.3.2, accessing a volatile object is a side effect. Per C11
6.5.2, unsequenced side effects on the same scalar object are undefined
behavior. Per C11 6.5.2.2.10/12, the evaluation of arguments in a
function call is indeterminately sequenced, meaning any side effects in
the arguments are unsequenced.

Add a local variable to hold the value of jiffies before the function
call so that there are no unsequenced side effects, clearing up the
warning.

Cc: stable@vger.kernel.org
Fixes: f7a81b12d6af ("rcu/nocb: Print no-CBs diagnostics when rcutorture writer unduly delayed")
Closes: https://github.com/ClangBuiltLinux/linux/issues/2192
Link: https://github.com/llvm/llvm-project/commit/955715460eaf9188c241c74750637fc82dfcc423 [1]
Signed-off-by: Nathan Chancellor &lt;nathan@kernel.org&gt;
Reviewed-by: Joel Fernandes &lt;jfern@kernel.org&gt;
Signed-off-by: Joel Fernandes &lt;jfern@kernel.org&gt;
</content>
</entry>
<entry>
<title>rcu-tasks: Use pr_debug() for callback contend/collapse messages</title>
<updated>2026-11-15T23:51:16Z</updated>
<author>
<name>Song Liu</name>
<email>song@kernel.org</email>
</author>
<published>2026-11-11T05:35:51Z</published>
<link rel='alternate' type='text/html' href='https://bastion.nosebs.vip/g/linux.git/commit/?id=38828d44f31e4366b2963d5786d06d3358e8ae58'/>
<id>urn:sha1:38828d44f31e4366b2963d5786d06d3358e8ae58</id>
<content type='text'>
Commit 5de907d24919 ("rcu-tasks: Disable callback contend/collapse
messages by default") added the rcupdate.rcu_task_collapse_debug module
parameter to gate the three pr_info() messages that report RCU Tasks
switching between CPU-0 and per-CPU callback queuing.

The kernel already has a mechanism for debug-only messages that are off
by default: pr_debug().  Use pr_debug() for these messages, and remove
the rcu_task_collapse_debug module parameter, its documentation, and
its boot-time announcement.

The messages stay off by default.  On CONFIG_DYNAMIC_DEBUG=y kernels,
they can be enabled at boot with:

  dyndbg="file kernel/rcu/tasks.h +p"

or at runtime with:

  echo 'file kernel/rcu/tasks.h +p' &gt; /proc/dynamic_debug/control

Assisted-by: Claude:claude-opus-5
Signed-off-by: Song Liu &lt;song@kernel.org&gt;
Reviewed-by: Joel Fernandes &lt;jfern@kernel.org&gt;
Reviewed-by: Paul E. McKenney &lt;paulmck@kernel.org&gt;
Tested-by: Breno Leitao &lt;leitao@debian.org&gt;
Signed-off-by: Joel Fernandes &lt;jfern@kernel.org&gt;
</content>
</entry>
<entry>
<title>Merge tag 'sched_ext-for-7.4-rc2-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/sched_ext</title>
<updated>2026-11-15T22:20:40Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2026-11-15T22:20:40Z</published>
<link rel='alternate' type='text/html' href='https://bastion.nosebs.vip/g/linux.git/commit/?id=a9daf327f3ff90625204876981f88cfe2b6f6fff'/>
<id>urn:sha1:a9daf327f3ff90625204876981f88cfe2b6f6fff</id>
<content type='text'>
Pull sched_ext fixes from Tejun Heo:

 - With proxy execution or core scheduling, a CPU could run a task that
   had been requeued on another CPU while dispatch had the rq lock
   dropped.

 - Unregistering a scheduler could return while its teardown was still
   running, letting the teardown call into BPF code that was already
   freed.

 - A CPU coming online could call into the BPF scheduler before the
   scheduler was told that the CPU is online.

 - A parent scheduler could be asked to attach a sub-scheduler to a
   cgroup that was already removed.

 - Hardening: more kfuncs that take a queue lock are rejected in tracing
   programs, where they could deadlock the CPU, and a queue iterator no
   longer restarts after reaching the end, which the BPF verifier
   assumes can't happen.

 - Smaller fixes: tasks needlessly sent back to the BPF scheduler on
   idle CPUs, stale scheduling state carried into a task's next
   scheduler, and uneven CPU shards with partially populated SMT cores.

* tag 'sched_ext-for-7.4-rc2-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/sched_ext:
  sched_ext: Reject DSQ iterator kfuncs in tracing programs
  sched_ext: make DSQ iterator stay drained after NULL
  sched_ext: Fix partial-SMT core counting in calc_shard_layout()
  sched_ext: Reset task fields on exit of an SCX_TASK_READY task
  sched_ext: Read exit_kind before flushing in scx_flush_disable_work()
  sched_ext: Reject scx_bpf_destroy_dsq() in tracing programs
  sched_ext: Fix ops.enqueue/dispatch() calls before ops.cpu_online()
  sched_ext: Factor out drain_offline_rq()
  sched_ext: Fix stale pick when the donor changes during dispatch
  sched_ext: Call ops.sub_attach() only while the cgroup is online
  sched_ext: Fix scx_bpf_dsq_reenq() kerneldoc claiming NMI calls are allowed
  sched_ext: Avoid unnecessary IMMED reenqueues on idle CPUs
</content>
</entry>
<entry>
<title>Merge tag 'cgroup-for-7.4-rc2-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup</title>
<updated>2026-11-15T22:17:31Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2026-11-15T22:17:31Z</published>
<link rel='alternate' type='text/html' href='https://bastion.nosebs.vip/g/linux.git/commit/?id=4b15991b3be43e9581aca489ec30a351310bb49d'/>
<id>urn:sha1:4b15991b3be43e9581aca489ec30a351310bb49d</id>
<content type='text'>
Pull cgroup fixes from Tejun Heo:

 - A file notification racing the file's removal could re-arm the
   notification timer after it was shut down, corrupting the timer wheel
   or firing on freed memory.

 - The v1 freezer could leave an exiting task frozen forever after its
   cgroup was thawed or removed.

 - With memcg built without the block cgroup controller, memcg reclaim
   waited on writeback and could deadlock against a filesystem freeze.
   memcg now selects the controller.

 - cpuset partition state could go wrong when CPUs move between nested
   partitions or go offline: isolated CPUs leaked or went missing,
   invalid partitions kept exclusive CPUs or came back with no usable
   CPU, and expanding a remote partition could fail. Separately, a
   forked child could inherit a corrupted memory node mask.

* tag 'cgroup-for-7.4-rc2-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup:
  cgroup/cpuset: Don't revive invalid partition without active CPU on hotplug
  cgroup/cpuset: Remove redundant WARN_ON_ONCE() in remote_cpus_update()
  memcg: make MEMCG select BLK_CGROUP
  cpuset: generalize the validate_partition() interface
  cpuset: settle isolation state when CPUs are given back to parent
  cgroup/cpuset: Correctly set isolated_cpus when switching partition state
  cgroup/cpuset: Protect current-&gt;mems_allowed read in cpuset_fork()
  selftests/cgroup: Fix "test_cpuset_prs.sh -v" failures
  cpuset: add early empty cpumask check in partition_xcpus_add/del
  cgroup/cpuset: Reset partition data when an invalid partition stays invalid
  cgroup/freezer: Fix exiting tasks left frozen forever after rmdir
  cgroup/freezer: walk exiting tasks in the v1 freezer
  cgroup: arm the notify timer only while the file exists
  cgroup/cpuset: Do housekeeping check when isolated child with root parent may get more xcpus
  cgroup/cpuset: Recompute effective cpumask in update_cpumasks_hier() after calling update_parent_effective_cpumask()
  cgroup/cpuset: Fix incorrect CPU accounting with parent's effective_xcpus expansion
</content>
</entry>
<entry>
<title>cgroup/cpuset: Don't revive invalid partition without active CPU on hotplug</title>
<updated>2026-11-15T20:15:12Z</updated>
<author>
<name>Ridong Chen</name>
<email>chenridong@xiaomi.com</email>
</author>
<published>2026-11-14T12:05:32Z</published>
<link rel='alternate' type='text/html' href='https://bastion.nosebs.vip/g/linux.git/commit/?id=acec9637e03ca54bd3c3a0c1a6ad5c6dfa07c0df'/>
<id>urn:sha1:acec9637e03ca54bd3c3a0c1a6ad5c6dfa07c0df</id>
<content type='text'>
When a CPU hotplug leaves no CPU outside of the partitions for the top
cpuset, cpuset_handle_hotplug() clears subpartitions_cpus and gives all
the active CPUs back to the top cpuset. cpuset_hotplug_update_tasks()
then walks the hierarchy and invalidates the partitions, as
subpartitions_cpus is empty.

However, an invalid partition visited in the same walk may be revived
if its effective_xcpus is not empty. tasks_nocpu_error() doesn't catch
it when its CPUs are all offline but it has no task. Its CPUs are put
back into subpartitions_cpus, and the valid partitions visited after it
are no longer invalidated, as subpartitions_cpus is not empty any more.
The top cpuset is left with CPUs overlapping with these partitions.

It can be reproduced on a system with 8 CPUs:

  # cd /sys/fs/cgroup
  # echo +cpuset &gt; cgroup.subtree_control
  # mkdir A1 B1
  # echo 1 &gt; A1/cpuset.cpus
  # echo 1 &gt; A1/cpuset.cpus.exclusive
  # echo 0,2-7 &gt; B1/cpuset.cpus
  # echo root &gt; B1/cpuset.cpus.partition
  # echo root &gt; A1/cpuset.cpus.partition
  # cat A1/cpuset.cpus.partition
  root invalid (Parent unable to distribute cpu downstream)
  # echo 0 &gt; /sys/devices/system/cpu/cpu1/online
  # cat A1/cpuset.cpus.partition B1/cpuset.cpus.partition
  root
  root
  # cat cpuset.cpus.effective
  0,2-7

A1 can't take CPU 1, the last CPU of the root cgroup which has tasks.
When CPU 1 is offlined, A1 is revived without any active CPU, and B1
stays valid while its CPUs are also in the effective CPUs of the root
cgroup, which triggers

  WARNING: kernel/cgroup/cpuset.c:919 at rebuild_sched_domains_locked

Only revive an invalid partition in hotplug if its effective_xcpus has
an active CPU, the same as what is required to create a partition with
tasks. With that, A1 and B1 are both invalidated in the above case.

Fixes: 0c7f293efc87 ("cgroup/cpuset: Add cpuset.cpus.exclusive.effective for v2")
Cc: stable@vger.kernel.org # v6.7+
Reported-by: Sashiko &lt;sashiko-bot@kernel.org&gt;
Link: https://sashiko.dev/#/patchset/20261114083124.1340140-1-ridong.chen%40linux.dev?part=11
Signed-off-by: Ridong Chen &lt;chenridong@xiaomi.com&gt;
Reviewed-by: Waiman Long &lt;longman@redhat.com&gt;
Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;
</content>
</entry>
<entry>
<title>cgroup/cpuset: Remove redundant WARN_ON_ONCE() in remote_cpus_update()</title>
<updated>2026-11-15T20:15:02Z</updated>
<author>
<name>Ridong Chen</name>
<email>chenridong@xiaomi.com</email>
</author>
<published>2026-11-14T10:06:12Z</published>
<link rel='alternate' type='text/html' href='https://bastion.nosebs.vip/g/linux.git/commit/?id=42ef815ff6b282e75248e8e084508fca4a694b70'/>
<id>urn:sha1:42ef815ff6b282e75248e8e084508fca4a694b70</id>
<content type='text'>
remote_cpus_update() warns if the CPUs to be added to a remote partition
intersect subpartitions_cpus, and then checks the very same condition
right below to set PERR_NOCPUS and invalidate the partition:

	WARN_ON_ONCE(cpumask_intersects(tmp-&gt;addmask, subpartitions_cpus));
	if (!capable(CAP_SYS_ADMIN))
		WRITE_ONCE(cs-&gt;prs_err, PERR_ACCESS);
	else if (cpumask_intersects(tmp-&gt;addmask, subpartitions_cpus) ||
		 cpumask_subset(top_cpuset.effective_cpus, tmp-&gt;addmask))
		WRITE_ONCE(cs-&gt;prs_err, PERR_NOCPUS);

Sashiko reported that the warning could be triggered by a write to a
cpuset control file, before the CAP_SYS_ADMIN check, which would panic a
system with panic_on_warn set.

The warning was added by commit 86888c7bd117 ("cgroup/cpuset: Add
warnings to catch inconsistency in exclusive CPUs") as an assertion that
such CPUs have been filtered out before. No way to trigger it with the
current interfaces has been found, as these CPUs are rejected when
cpuset.cpus.exclusive is written. But the warning is redundant, as the
conflict is handled right below anyway.

Remove the warning and rely on the PERR_NOCPUS check, the same as
remote_partition_enable() already does for this conflict.

Reported-by: Sashiko &lt;sashiko-bot@kernel.org&gt;
Link: https://sashiko.dev/#/patchset/20261114083124.1340140-1-ridong.chen%40linux.dev?part=6
Signed-off-by: Ridong Chen &lt;chenridong@xiaomi.com&gt;
Reviewed-by: Waiman Long &lt;longman@redhat.com&gt;
Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;
</content>
</entry>
<entry>
<title>Merge tag 'timers-urgent-2026-11-15' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip</title>
<updated>2026-11-15T17:09:04Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2026-11-15T17:09:04Z</published>
<link rel='alternate' type='text/html' href='https://bastion.nosebs.vip/g/linux.git/commit/?id=0feaf5349e0a0521de3406343df32954801784d9'/>
<id>urn:sha1:0feaf5349e0a0521de3406343df32954801784d9</id>
<content type='text'>
Pull timer fixes from Ingo Molnar::

 - Add VDSO_UNALIGNED_PACKED config option for targets without efficient
   unaligned memory accesses (such as ARMv5), and turn it on for
   !CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS platforms.

   Propagate these changes into tooling headers as well (Ian Rogers)

 - Read getboottime64() offsets under the tk_core.seq sequence counter
   (Hungyu Lin)

 - Keep tsacct task begin times stable across suspend (Hungyu Lin)

 - Reject cross timestamps for invalid AUX clocks (Avi Weiss)

 - Refresh auxiliary timekeeper base before offset validation (Avi
   Weiss)

* tag 'timers-urgent-2026-11-15' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  timekeeping: Refresh auxiliary base before offset validation
  timekeeping: Reject cross timestamps for invalid AUX clocks
  tsacct: Keep task begin times stable across suspend
  timekeeping: Read getboottime64() offsets under the sequence counter
  tools headers: Update the vdso/unaligned.h copy with the kernel sources
  vdso: Add VDSO_UNALIGNED_PACKED config option
</content>
</entry>
<entry>
<title>Merge tag 'sched-urgent-2026-11-15' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip</title>
<updated>2026-11-15T17:04:14Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2026-11-15T17:04:14Z</published>
<link rel='alternate' type='text/html' href='https://bastion.nosebs.vip/g/linux.git/commit/?id=fc28723faec6c5eda0263b46e23dd89d5c29f464'/>
<id>urn:sha1:fc28723faec6c5eda0263b46e23dd89d5c29f464</id>
<content type='text'>
Pull scheduler fixes from Ingo Molnar:

 - Fix spurious SYS_sched_setattr() -EPERM for migration-disabled
   tasks (Andrea Parri)

 - Reject clamp values above SCHED_CAPACITY_SCALE (Andrea Parri)

 - Fix cpuset_mutex double unlock in __sched_setscheduler()
   (Andrea Parri)

 - Don't use fits_capacity() to compare thread and CPU counts in
   in invalid_llc_nr() (Zhan Xusheng)

 - Do not touch SMT siblings that have not joined the core yet
   during CPU onlining (Seiji Nishikawa)

* tag 'sched-urgent-2026-11-15' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  sched/core: Do not touch SMT siblings that have not joined the core yet
  sched/cache: Don't use fits_capacity() to compare thread and CPU counts
  sched/core: Fix cpuset_mutex double unlock in __sched_setscheduler()
  sched/uclamp: Reject clamp values above SCHED_CAPACITY_SCALE
  sched/deadline: Fix spurious -EPERM for migration-disabled tasks
</content>
</entry>
<entry>
<title>Merge tag 'perf-urgent-2026-11-15' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip</title>
<updated>2026-11-15T17:01:48Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2026-11-15T17:01:48Z</published>
<link rel='alternate' type='text/html' href='https://bastion.nosebs.vip/g/linux.git/commit/?id=ca6709295ae5420d1a391f32e6a7f23b7fda14b3'/>
<id>urn:sha1:ca6709295ae5420d1a391f32e6a7f23b7fda14b3</id>
<content type='text'>
Pull perf events fixes from Ingo Molnar:

 - Avoid AMD uncore context migration from non-owners (Sandipan Das)

 - Clear stop state in perf_trace_add(), to fix self-profilers such as
   async-profiler. Also fix a similar bug in hw_breakpoint_add() (Paolo
   Bertinetti)

 - Fix racy update of cpc-&gt;hrtimer_interval (Benjamin Segall)

 - Do not resurrect cpuctx-&gt;cgrp after last cgroup event exit, to fix
   UAF bug (Phat Dinh)

* tag 'perf-urgent-2026-11-15' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  perf/core: Do not resurrect cpuctx-&gt;cgrp after last cgroup event exit
  perf: Fix racy update of cpc-&gt;hrtimer_interval
  perf/hw_breakpoint: Clear stop state in hw_breakpoint_add()
  tracing/perf: Clear stop state in perf_trace_add()
  perf/x86/amd/uncore: Avoid context migration from non-owners
</content>
</entry>
<entry>
<title>Merge tag 'fixes-2026-11-15' of git://git.kernel.org/pub/scm/linux/kernel/git/liveupdate/linux</title>
<updated>2026-11-15T16:55:09Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2026-11-15T16:55:09Z</published>
<link rel='alternate' type='text/html' href='https://bastion.nosebs.vip/g/linux.git/commit/?id=04da1a14b9eae1dbc2ccc007b54f46771f9cb529'/>
<id>urn:sha1:04da1a14b9eae1dbc2ccc007b54f46771f9cb529</id>
<content type='text'>
Pull liveupdate fixes from Mike Rapoport:

 - avoid address translation in is_kho_boot() before the linear map is
   initialized, fixing early boot BUG_ONs on arm64

 - check for duplicate session names before growing the sessions
   preservations block set to avoid preserving an empty block that
   causes restoration to panic()

* tag 'fixes-2026-11-15' of git://git.kernel.org/pub/scm/linux/kernel/git/liveupdate/linux:
  kho: check fdt_phys in is_kho_boot()
  liveupdate: check for duplicate session before growing block set
</content>
</entry>
</feed>
