All of lore.kernel.org
 help / color / mirror / Atom feed
From: Manfred Spraul <manfred@colorfullife.com>
To: Christoph Hellwig <hch@lst.de>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] remove ptrinfo
Date: Wed, 01 Sep 2004 19:53:01 +0200	[thread overview]
Message-ID: <41360C7D.4020009@colorfullife.com> (raw)

Christoph wrote:

>it's defined in slab.c but not used anywhere
>  
>
Correct: ptrinfo is a debug-only function. Intended to be called from 
kgdb stubs or for local printk debugging tests.
I think gdb even allows to call functions while it's stopped on a 
breakpoint.

I added it as an example what slab knows about it's objects - I have 
such test functions in my local files, but most developers don't know 
how slab tracks objects. It's reference code - I'm not sure if it 
belongs into the kernel or not.

--
    Manfred


             reply	other threads:[~2004-09-01 17:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-01 17:53 Manfred Spraul [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-09-01 10:02 [PATCH] remove ptrinfo 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=41360C7D.4020009@colorfullife.com \
    --to=manfred@colorfullife.com \
    --cc=hch@lst.de \
    --cc=linux-kernel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.