diff options
author | David Rientjes <rientjes@google.com> | 2014-08-06 16:04:16 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-08-06 18:01:14 -0700 |
commit | c07b8183cbb86d34007e5a3935e0ec89f5bb83c6 (patch) | |
tree | e3f26625f0a8d4d974f02de69eafd098e92952d3 /mm/slub.c | |
parent | 5240ab4076bd3815473f2f2991741acc698f8b58 (diff) | |
download | linux-c07b8183cbb86d34007e5a3935e0ec89f5bb83c6.tar.gz linux-c07b8183cbb86d34007e5a3935e0ec89f5bb83c6.tar.bz2 linux-c07b8183cbb86d34007e5a3935e0ec89f5bb83c6.zip |
mm, slub: mark resiliency_test as init text
resiliency_test() is only called for bootstrap, so it may be moved to
init.text and freed after boot.
Signed-off-by: David Rientjes <rientjes@google.com>
Acked-by: Christoph Lameter <cl@linux.com>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/slub.c')
-rw-r--r-- | mm/slub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/slub.c b/mm/slub.c index 3918cd62a4b2..2d61503efb92 100644 --- 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; |