Commit 4e4a7d9
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>1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments