blob: 0a85bf4ff82ccb538850e619697eec9b46ed9947 [file] [log] [blame]
---
init/Kconfig | 1 +
mm/slab.h | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
Index: linux-stable/init/Kconfig
===================================================================
--- linux-stable.orig/init/Kconfig
+++ linux-stable/init/Kconfig
@@ -1535,6 +1535,7 @@ choice
config SLAB
bool "SLAB"
+ depends on !PREEMPT_RT_FULL
help
The regular slab allocator that is established and known to work
well in all environments. It organizes cache hot objects in
Index: linux-stable/mm/slab.h
===================================================================
--- linux-stable.orig/mm/slab.h
+++ linux-stable/mm/slab.h
@@ -245,7 +245,7 @@ static inline struct kmem_cache *cache_f
* The slab lists for all objects.
*/
struct kmem_cache_node {
- spinlock_t list_lock;
+ raw_spinlock_t list_lock;
#ifdef CONFIG_SLAB
struct list_head slabs_partial; /* partial list first, better asm code */