Re: kgdb: core

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Ingo Molnar <mingo@...>, Jason Wessel <jason.wessel@...>
Cc: Linux Kernel Mailing List <linux-kernel@...>
Date: Friday, April 18, 2008 - 6:09 pm

On Fri, 18 Apr 2008 17:41:29 GMT
Linux Kernel Mailing List <linux-kernel@vger.kernel.org> wrote:


Please just nuke all the interface comments in the header files.  They
duplicate the kernedoc comments at the definition site and we don't want to
have to update both versions whenever we change something.


Well, these are trickier because there is an implementation of this
function within each architecture.  So I think that in this case it _does_
make sense to document the function in a common place, and the only common
place is this header file.

So please

a) make this a kerneldoc comment and

b) remove the kerneldoc at the definition site(s).

(alternative: teach the kerneldoc system to go fishing in the various arch
directories to find the appropriate documentation, but I don't know enough
about kerneldoc to be able say anything about that).


This should become a kernedoc comment, as this is the only place we can
document it.  So please add the leading /**


ditto


We're slowly trying to weed out dependencies on NR_CPUS: switching to
num_online_cpus, num_possible_cpus, etc.  This one takes us backwards.

Fixable?


etc.


Surprisingly, kgdb appears to be the only part of the kernel which is using
BUFMAX.  But as a kernel-wide identifier, it isn't a very well-chosen one.


How many are we up to now?

akpm:/usr/src/linux-2.6.25> grep -ri '"0123456789abcdef"' . | wc -l
40

lol.



Nice-looking code - kgb has improved rather a lot.  I'm glad we finally got
it in.  Maybe one day I'll get to use it again :(

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

Messages in current thread:
Re: kgdb: core, Andrew Morton, (Fri Apr 18, 6:09 pm)
Re: kgdb: core, Ingo Molnar, (Mon Apr 21, 10:12 am)
Re: kgdb: core, Andrew Morton, (Tue Apr 22, 12:46 am)
Re: kgdb: core, Randy Dunlap, (Tue Apr 22, 11:25 am)
Re: kgdb: core, Andrew Morton, (Tue Apr 22, 4:57 pm)
Re: kgdb: core, Randy Dunlap, (Tue Apr 22, 5:02 pm)
Re: kgdb: core, Jason Wessel, (Tue Apr 22, 5:19 pm)
Re: kgdb: core, Randy Dunlap, (Tue Apr 22, 9:19 pm)
Re: kgdb: core, Ingo Molnar, (Tue Apr 22, 4:30 am)