Skip to content

Commit 4e4a7d9

Browse files
committed
Merge: kernel-rt: config: disable SLUB_CPU_PARTIAL for real time kernels
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9/-/merge_requests/2271 Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2182930 Upstream Status: RHEL only The SLUB allocator (used by the RT kernel) uses deferred kfree() processing by default. When cpu_partial logic kicks in to reclaim deferred kfree() blocks, latency spikes can be observed. The cpu partials are protected by a spinlock and can create high latencies when all cpus contend on the lock. Partial processing is an optimization and can be turned off in favor of determinism. That has been the case on kernel-rt for a while now. Signed-off-by: Luis Claudio R. Goncalves <lgoncalv@redhat.com> Approved-by: John B. Wyatt IV <jwyatt@redhat.com> Approved-by: Juri Lelli <juri.lelli@redhat.com> Signed-off-by: Jan Stancek <jstancek@redhat.com>
2 parents 4cc61ae + e0b9afb commit 4e4a7d9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# CONFIG_SLUB_CPU_PARTIAL is not set

0 commit comments

Comments
 (0)