On Mon, 2015-11-16 at 23:18 +0100, Hannes Frederic Sowa wrote:
> > need something that handles all cases properly.
> 
> I just wanted to shut up the gcc warning which is added if a function
> uses more than 2048 bytes of stack space. We normally don't have the
> problem and could also divide the function into two, but I don't see a
> general solution to the problem. Mostly they need to be custom tailored
> to the specific usage.
> 
> I can have a look if we can use kmalloc based storage for the stats, but
> this also means that we add another NULL pointer check and error
> handling for those cases. Let me have a look!

Simply put the code different functions with noinline_for_stack


--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to