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

* Ingo Molnar <mingo@elte.hu> 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.

Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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