Rename for clarity

parent 07595322
......@@ -409,7 +409,7 @@ assert_seq_macros(void)
} while (0)
// <8K for BUDDY_POOL
#define LBUF_DSK_RSV_REQS \
#define LBUF_DSKPOOL_SIZE \
((((1<<13) - 16) - 2 * sizeof(struct buddy_reqs)) / \
(2 * sizeof(struct i_reqalloc)))
......@@ -417,11 +417,11 @@ assert_seq_macros(void)
static void __attribute__((constructor))
assert_lbuf_dsk_resv(void)
{
assert(LBUF_DSK_RSV_REQS <= BUDDY_REQS_MAX);
assert(LBUF_DSKPOOL_SIZE <= BUDDY_REQS_MAX);
}
// dsk block pool
BUDDY_POOL(lbuf_dskpool, LBUF_DSK_RSV_REQS);
BUDDY_POOL(lbuf_dskpool, LBUF_DSKPOOL_SIZE);
// this is the memory request for dskpool
BUDDY_REQS(lbuf_dskpool_mem_s, 1);
// mem block pool
......
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