diff options
| author | Joonsoo Kim <iamjoonsoo.kim@lge.com> | 2013-06-19 14:05:52 +0900 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2016-09-28 15:12:25 +0200 |
| commit | fefbb2c1df26ca2e1c71124e5a117e0944d11c63 (patch) | |
| tree | e73e6f16a71ffd622cb17aa09624fd4e58ed2984 /init/Kconfig | |
| parent | de5e9ed5da6a910253d8709a1a24bcecac3af012 (diff) | |
slub: Make cpu partial slab support configurable
CPU partial support can introduce level of indeterminism that is not
wanted in certain context (like a realtime kernel). Make it
configurable.
This patch is based on Christoph Lameter's "slub: Make cpu partial slab
support configurable V2".
Acked-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
Signed-off-by: W4TCH0UT <ateekujjawal@gmail.com>
Diffstat (limited to 'init/Kconfig')
| -rw-r--r-- | init/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig index 9872d62d4..49831fb5c 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -1576,6 +1576,17 @@ config SLOB endchoice +config SLUB_CPU_PARTIAL + default y + depends on SLUB + bool "SLUB per cpu partial cache" + help + Per cpu partial caches accellerate objects allocation and freeing + that is local to a processor at the price of more indeterminism + in the latency of the free. On overflow these caches will be cleared + which requires the taking of locks that may cause latency spikes. + Typically one would choose no for a realtime system. + config MMAP_ALLOW_UNINITIALIZED bool "Allow mmapped anonymous memory to be uninitialized" depends on EXPERT && !MMU |
