Commit d6e56fb2 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] trivial: Fix name of biovec slab

From: Rusty Russell <rusty@rustcorp.com.au>

From:  "Chen, Kenneth W" <kenneth.w.chen@intel.com>

Pure cosmetic.  Largest biovec slab is printed as biovec-BIO_MAX_PAGES in
/proc/slabinfo.  It would be more informative to print actual number instead
of macro's name.
parent 6a8729ec
......@@ -53,7 +53,7 @@ struct biovec_pool {
* unsigned short
*/
#define BV(x) { .nr_vecs = x, .name = "biovec-" #x }
#define BV(x) { .nr_vecs = x, .name = "biovec-"__stringify(x) }
static struct biovec_pool bvec_array[BIOVEC_NR_POOLS] = {
BV(1), BV(4), BV(16), BV(64), BV(128), BV(BIO_MAX_PAGES),
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment