library: eliminate extra stack header space provisions
With the new perspective on potential uses of a 'noop' enumerator (or whatever we decide to call it) there is no longer a need to provide for any extra 'user' space in the stack header structures used by slab & meminfo. Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
2
vmstat.c
2
vmstat.c
@ -624,7 +624,7 @@ static void slabformat (void)
|
||||
|
||||
if (procps_slabinfo_new(&slab_info) < 0)
|
||||
xerrx(EXIT_FAILURE, _("Unable to create slabinfo structure"));
|
||||
if (!(v = procps_slabnode_stacks_alloc(slab_info, CHAINS_ALLOC, 0, MAX_ITEMS, node_items)))
|
||||
if (!(v = procps_slabnode_stacks_alloc(slab_info, CHAINS_ALLOC, MAX_ITEMS, node_items)))
|
||||
xerrx(EXIT_FAILURE, _("Unable to allocate slabinfo nodes"));
|
||||
|
||||
if (!moreheaders)
|
||||
|
Reference in New Issue
Block a user