public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Keith Owens <kaos@sgi.com>
To: linux-ia64@vger.kernel.org
Subject: Re: [PATCH 2/4] SGI Altix cross partition functionality
Date: Wed, 16 Jun 2004 20:22:45 +0000	[thread overview]
Message-ID: <7620.1087417365@ocs3.ocs.com.au> (raw)
In-Reply-To: <20040616163514.GB27891@sgi.com>

On Wed, 16 Jun 2004 18:28:22 +0100, 
Christoph Hellwig <hch@infradead.org> wrote:
>> +static void
>> +xpc_kdb_print_users(xpc_registration_t *registration, int ch_number)
>> +{
>> +	kdb_printf("xpc_registrations[channel=%d] (0x%p):\n", ch_number,
>> +							(void *) registration);
>> +
>> +	kdb_printf("\t&sema=0x%p\n", (void *) &registration->sema);
>> +	kdb_printf("\tfunc=0x%p\n", (void *) registration->func);
>> +	kdb_printf("\tkey=0x%p\n", registration->key);
>> +	kdb_printf("\tnentries=%d\n", registration->nentries);
>> +	kdb_printf("\tmsg_size=%d\n", registration->msg_size);
>> +	kdb_printf("\tassigned_limit=%d\n", registration->assigned_limit);
>> +	kdb_printf("\tidle_limit=%d\n", registration->idle_limit);
>> +}
>
>IIRC Keith objected against adding kdb-related code to mainline in the past.

No, I objected to mainline kdb code like a serial console hook being
scattered across other patches.  This is not mainline kdb code, it is
using kdb to add a debugging feature to other code.  I have no
objection to that, code such as ACPI has done that in the past.

>And IMHO it's indeed better placed in the kdb patch.

Absolutely not.  kdb has no interest in the debugging entries of
individual subsystems, in the same way that printk() does not care who
calls it.

BTW, with kdb v4.4 you no longer need the extra CFLAGS, drop
CFLAGS_xp_main.o += -I $(TOPDIR)/arch/$(ARCH)/kdb


  parent reply	other threads:[~2004-06-16 20:22 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-16 16:35 [PATCH 2/4] SGI Altix cross partition functionality Dean Nelson
2004-06-16 17:28 ` Christoph Hellwig
2004-06-16 20:22 ` Keith Owens [this message]
2004-07-29 18:36 ` Dean Nelson
2004-08-31 19:22 ` [PATCH 2/4] SGI Altix cross partition functionality (1st revision) Dean Nelson
2004-09-01 10:19 ` Robin Holt
2004-09-04 11:12 ` Christoph Hellwig
2004-09-04 11:15 ` Christoph Hellwig
2004-09-04 16:35 ` Russ Anderson
2004-09-04 16:55 ` Christoph Hellwig
2004-09-04 16:57 ` Christoph Hellwig
2004-09-05 11:45 ` Robin Holt
2004-12-20 18:45 ` Dean Nelson
2004-12-21 12:20 ` Dean Nelson
2005-01-05 11:35 ` Christoph Hellwig
2005-01-05 11:35 ` Christoph Hellwig

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7620.1087417365@ocs3.ocs.com.au \
    --to=kaos@sgi.com \
    --cc=linux-ia64@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox