Loading include/linux/slob_def.h +8 −0 Original line number Diff line number Diff line #ifndef __LINUX_SLOB_DEF_H #define __LINUX_SLOB_DEF_H #ifndef ARCH_KMALLOC_MINALIGN #define ARCH_KMALLOC_MINALIGN __alignof__(unsigned long) #endif #ifndef ARCH_SLAB_MINALIGN #define ARCH_SLAB_MINALIGN __alignof__(unsigned long) #endif void *kmem_cache_alloc_node(struct kmem_cache *, gfp_t flags, int node); static __always_inline void *kmem_cache_alloc(struct kmem_cache *cachep, Loading mm/slob.c +0 −8 Original line number Diff line number Diff line Loading @@ -467,14 +467,6 @@ static void slob_free(void *block, int size) * End of slob allocator proper. Begin kmem_cache_alloc and kmalloc frontend. */ #ifndef ARCH_KMALLOC_MINALIGN #define ARCH_KMALLOC_MINALIGN __alignof__(unsigned long) #endif #ifndef ARCH_SLAB_MINALIGN #define ARCH_SLAB_MINALIGN __alignof__(unsigned long) #endif void *__kmalloc_node(size_t size, gfp_t gfp, int node) { unsigned int *m; Loading Loading
include/linux/slob_def.h +8 −0 Original line number Diff line number Diff line #ifndef __LINUX_SLOB_DEF_H #define __LINUX_SLOB_DEF_H #ifndef ARCH_KMALLOC_MINALIGN #define ARCH_KMALLOC_MINALIGN __alignof__(unsigned long) #endif #ifndef ARCH_SLAB_MINALIGN #define ARCH_SLAB_MINALIGN __alignof__(unsigned long) #endif void *kmem_cache_alloc_node(struct kmem_cache *, gfp_t flags, int node); static __always_inline void *kmem_cache_alloc(struct kmem_cache *cachep, Loading
mm/slob.c +0 −8 Original line number Diff line number Diff line Loading @@ -467,14 +467,6 @@ static void slob_free(void *block, int size) * End of slob allocator proper. Begin kmem_cache_alloc and kmalloc frontend. */ #ifndef ARCH_KMALLOC_MINALIGN #define ARCH_KMALLOC_MINALIGN __alignof__(unsigned long) #endif #ifndef ARCH_SLAB_MINALIGN #define ARCH_SLAB_MINALIGN __alignof__(unsigned long) #endif void *__kmalloc_node(size_t size, gfp_t gfp, int node) { unsigned int *m; Loading