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

* Andrew Morton <akpm@osdl.org> wrote:

> > Any suggestions of how to avoid the parameter passing? (without ugly
> > #ifdeffery)
>
> No, I don't see a way apart from inlining __cache_free(), or inlining
> cache_free_alien() into both kfree() and kmem_cache_free(), both of
> which are unattractive.

furthermore, cache_free_alien() is a NOP on non-NUMA, so the cost on
non-NUMA is really small.

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.

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 09:55    [W:0.138 / U:0.580 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site