linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: Dave Hansen <dave@linux.vnet.ibm.com>
Cc: Laura Abbott <lauraa@codeaurora.org>, linux-mm@kvack.org
Subject: Re: [PATCH] Debugging: Keep track of page owners
Date: Wed, 5 Dec 2012 14:36:57 -0800	[thread overview]
Message-ID: <20121205143657.cad5baa5.akpm@linux-foundation.org> (raw)
In-Reply-To: <50BF88D0.9050209@linux.vnet.ibm.com>

On Wed, 05 Dec 2012 09:48:00 -0800
Dave Hansen <dave@linux.vnet.ibm.com> wrote:

> On 12/05/2012 07:01 AM, Laura Abbott wrote:\
> > Any reason you are using custom stack saving code instead of using the
> > save_stack_trace API? (include/linux/stacktrace.h) . This is implemented
> > on all architectures and takes care of special considerations for
> > architectures such as ARM.
> 
> This is actually an ancient patch that Andrew's been carrying around and
> updating periodically.  I didn't duck fast enough and got stuck updating
> it. :)

Yes, it's a sweet little patch and has saved our ass a few times.  It
would be nice if someone were to, umm, productize it and get it merged.

However, do see https://lkml.org/lkml/2009/4/1/137 where Ingo discusses
conversion to using the tracing infrastructure.

btw, the original patch was from the lost-lost and dearly missed
Alexander Nyberg <alexn@dsv.su.se>.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  reply	other threads:[~2012-12-05 22:36 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-05  1:12 [PATCH] Debugging: Keep track of page owners Dave Hansen
2012-12-05 15:01 ` Laura Abbott
2012-12-05 17:48   ` Dave Hansen
2012-12-05 22:36     ` Andrew Morton [this message]
2012-12-07 16:37     ` Laura Abbott
  -- strict thread matches above, loose matches on Subject: below --
2012-12-07 21:24 Dave Hansen
2012-12-07 22:26 ` Andrew Morton
2012-12-07 22:37   ` Dave Hansen
2012-12-07 22:44     ` Andrew Morton
2012-12-07 22:58       ` Dave Hansen
2012-12-08  2:51   ` Steven Rostedt
2012-12-08  2:58 ` Steven Rostedt

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=20121205143657.cad5baa5.akpm@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=dave@linux.vnet.ibm.com \
    --cc=lauraa@codeaurora.org \
    --cc=linux-mm@kvack.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;
as well as URLs for NNTP newsgroup(s).