[lkml]   [2014]   [Feb]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 3.14-rc2 XFS backtrace because irqs_disabled.
On Sun, Feb 16, 2014 at 09:23:56AM +1100, Dave Chinner wrote:

> There's a pretty massive difference between the actual stack usage
> of the local variables and the amount of stack being used by the
> compiled code.
> What it appears to be is that the compiler is pushing 6-10 registers
> to the stack on every function call. So a function that only has 3
> local variables and does very little but allocate a structure and
> call other functions saves an 6 registers to the stack before it
> starts:

I've got a shitload of debug options enabled, which may explain it.
Or perhaps that new STACK_PROTECTOR_STRONG stuff ?


 \ /
  Last update: 2014-02-16 00:01    [W:0.084 / U:1.672 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site