Re: [Patch 1/2] Trace code and documentation (updated)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andi Kleen
Date: Wednesday, September 19, 2007 - 1:30 am

"David J. Wilder" <dwilder@us.ibm.com> writes:

Not having read the whole thing; just something I noticed.

Gut feeling is that you have too many knobs and options and 
some overengineering though -- simplifying it would be a good thing.


That definitely needs to be a per CPU variable. Imagine
what happens on a NR_CPUS==4096 kernel.  In general when 
you have a NR_CPUS indexed array you're likely doing something
wrong. Yes there are still places in the main tree who do that,
but most of them need to be fixed.

-Andi
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[Patch 1/2] Trace code and documentation (updated), David J. Wilder, (Tue Sep 18, 9:46 pm)
Re: [Patch 1/2] Trace code and documentation (updated), Andi Kleen, (Wed Sep 19, 1:30 am)
Re: [Patch 1/2] Trace code and documentation (updated), David Wilder, (Wed Sep 19, 7:14 am)
Re: [Patch 1/2] Trace code and documentation (updated), Christoph Hellwig, (Wed Sep 19, 9:20 am)
Re: [Patch 1/2] Trace code and documentation (updated), Randy Dunlap, (Wed Sep 19, 9:52 am)
Re: [Patch 1/2] Trace code and documentation (updated), Christoph Hellwig, (Wed Sep 19, 9:55 am)
Re: [Patch 1/2] Trace code and documentation (updated), David Wilder, (Wed Sep 19, 10:41 am)
Re: [Patch 1/2] Trace code and documentation (updated), Sam Ravnborg, (Wed Sep 19, 10:48 am)
Re: [Patch 1/2] Trace code and documentation (updated), Christoph Hellwig, (Wed Sep 19, 10:51 am)
Re: Test harness in the kernel for new syscalls? [Was: Tra ..., Christoph Hellwig, (Fri Sep 21, 1:08 am)
Re: [Patch 1/2] Trace code and documentation (updated), Christoph Hellwig, (Sun Sep 23, 5:46 am)
Re: [Patch 1/2] Trace code and documentation (updated), David Wilder, (Mon Sep 24, 8:16 am)