projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5240ab4
)
mm, slub: mark resiliency_test as init text
author
David Rientjes
<
[email protected]
>
Wed, 6 Aug 2014 23:04:16 +0000
(16:04 -0700)
committer
Linus Torvalds
<
[email protected]
>
Thu, 7 Aug 2014 01:01:14 +0000
(18:01 -0700)
resiliency_test() is only called for bootstrap, so it may be moved to
init.text and freed after boot.
Signed-off-by: David Rientjes <
[email protected]
>
Acked-by: Christoph Lameter <
[email protected]
>
Cc: Pekka Enberg <
[email protected]
>
Cc: Joonsoo Kim <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
mm/slub.c
patch
|
blob
|
history
diff --git
a/mm/slub.c
b/mm/slub.c
index 3918cd62a4b22f1b80b6c8d81f9c99fc805c6f29..2d61503efb9250371f7d19cc19676870c243546c 100644
(file)
--- a/
mm/slub.c
+++ b/
mm/slub.c
@@
-4187,7
+4187,7
@@
static int list_locations(struct kmem_cache *s, char *buf,
#endif
#ifdef SLUB_RESILIENCY_TEST
-static void resiliency_test(void)
+static void
__init
resiliency_test(void)
{
u8 *p;