[lkml]   [2006]   [Jul]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Random panics seen in 2.6.18-rc1

* Ingo Molnar <> wrote:

> but ... i think gcc ought to be able to figure out that the parameter
> is totally unused on !LOCKDEP - all functions involved are static, and
> we are using -funit-at-a-time already. That should make the parameter
> passing totally zero-cost.

hm, gcc (as of 4.1.1) doesnt seem to be able to figure that out,
probably due to the 'nesting + 1' changing the variable.

Anyway, Arjan's nesting-type idea should solve the problem - in that
case 'nesting + 1' becomes an identity mapping of a zero-sized variable,
which will generate zero code.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2006-07-13 10:57    [W:0.105 / U:4.068 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site