slub: add missing __percpu markup in mm/slub_def.h
kmem_cache->cpu_slab is a percpu pointer but was missing __percpu markup. Add it. Signed-off-by: Namhyung Kim <namhyung@gmail.com> Acked-by: Tejun Heo <tj@kernel.org> Signed-off-by: Pekka Enberg <penberg@kernel.org>
This commit is contained in:
committed by
Pekka Enberg
parent
45d7f32c7a
commit
1b5ad24878
@@ -68,7 +68,7 @@ struct kmem_cache_order_objects {
|
|||||||
* Slab cache management.
|
* Slab cache management.
|
||||||
*/
|
*/
|
||||||
struct kmem_cache {
|
struct kmem_cache {
|
||||||
struct kmem_cache_cpu *cpu_slab;
|
struct kmem_cache_cpu __percpu *cpu_slab;
|
||||||
/* Used for retriving partial slabs etc */
|
/* Used for retriving partial slabs etc */
|
||||||
unsigned long flags;
|
unsigned long flags;
|
||||||
int size; /* The size of an object including meta data */
|
int size; /* The size of an object including meta data */
|
||||||
|
Reference in New Issue
Block a user