Re: [PATCH RFC V2 2/2] net: Optimize snmp stat aggregation by walking all the percpu data at once
From: Eric Dumazet
Date: Fri Aug 28 2015 - 21:00:37 EST
On Fri, 2015-08-28 at 17:35 -0700, Joe Perches wrote:
> That of course depends on what a "leaf" is and
> whether or not any other function call in the
> "leaf" consumes stack.
>
> inet6_fill_ifla6_attrs does call other functions
> (none of which has the stack frame size of k.alloc)
Just define/use this automatic array in the damn leaf function.
That should not be hard, and maybe no one will complain and we can
work on more complex issues.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/