lkml.org 
[lkml]   [2004]   [May]   [28]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateFri, 28 May 2004 14:53:40 +1000
FromPaul Mackerras <>
SubjectRe: [PPC64] Remove silly debug path from get_vsid()
Andreas Dilger writes:

> so presumably if you don't select CONFIG_PPCDBG it is also a no-op unless
> the compiler is broken and doesn't optimize away "if (0)" stanzas.  The
> original construct gives you the option to enable this particular debugging
> at runtime (without necessarily enabling all debugging at one time) if wanted.

And the effect of suddenly changing your VSID calculation algorithm in
mid-stream is pretty catastrophic.  There is no sensible reason
wanting to be able to turn this on and off at runtime.  This is not
just some extra checking.

Paul.
-
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: 2005-03-22 13:03    [from the cache]
©2003-2008