OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1ff3f9
)
include/linux/slab.h: fix a typo error in comment
author
tangjianqiang
<wyqt1985@gmail.com>
Tue, 13 Oct 2020 23:48:37 +0000
(16:48 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Wed, 14 Oct 2020 01:38:27 +0000
(18:38 -0700)
fix a typo error in slab.h
"allocagtor" -> "allocator"
Signed-off-by: tangjianqiang <tangjianqiang@xiaomi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Souptick Joarder <jrdr.linux@gmail.com>
Link:
https://lkml.kernel.org/r/1600230053-24303-1-git-send-email-tangjianqiang@xiaomi.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/slab.h
patch
|
blob
|
history
diff --git
a/include/linux/slab.h
b/include/linux/slab.h
index
24df239
..
9e155cc
100644
(file)
--- a/
include/linux/slab.h
+++ b/
include/linux/slab.h
@@
-279,7
+279,7
@@
static inline void __check_heap_object(const void *ptr, unsigned long n,
#define KMALLOC_MAX_SIZE (1UL << KMALLOC_SHIFT_MAX)
/* Maximum size for which we actually use a slab cache */
#define KMALLOC_MAX_CACHE_SIZE (1UL << KMALLOC_SHIFT_HIGH)
-/* Maximum order allocatable via the slab alloca
g
tor */
+/* Maximum order allocatable via the slab allocator */
#define KMALLOC_MAX_ORDER (KMALLOC_SHIFT_MAX - PAGE_SHIFT)
/*