diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2012-10-25 09:32:35 (GMT) |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2014-04-10 00:19:01 (GMT) |
commit | 0ded3f0df43579f5d190566490fda3a810ba27f9 (patch) | |
tree | fc4b520d9f0b57632a27c47270e2c5c94f5f5194 /mm/slab.h | |
parent | d0a5eefa8a8d0188cfa13f3474ae54c2b28e1f67 (diff) | |
download | linux-fsl-qoriq-0ded3f0df43579f5d190566490fda3a810ba27f9.tar.xz |
mm: Enable SLUB for RT
Make SLUB RT aware and remove the restriction in Kconfig.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'mm/slab.h')
-rw-r--r-- | mm/slab.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -247,7 +247,11 @@ static inline struct kmem_cache *cache_from_obj(struct kmem_cache *s, void *x) * The slab lists for all objects. */ struct kmem_cache_node { +#ifdef CONFIG_SLUB + raw_spinlock_t list_lock; +#else spinlock_t list_lock; +#endif #ifdef CONFIG_SLAB struct list_head slabs_partial; /* partial list first, better asm code */ |