[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20090626224802.GB3858@localdomain.by>
Date: Sat, 27 Jun 2009 01:48:02 +0300
From: Sergey Senozhatsky <sergey.senozhatsky@...l.by>
To: Catalin Marinas <catalin.marinas@....com>
Cc: Pekka Enberg <penberg@...helsinki.fi>, Ingo Molnar <mingo@...e.hu>,
"Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org, linux-mm@...ck.org
Subject: Re: kmemleak suggestion (long message)
On (06/26/09 17:12), Catalin Marinas wrote:
> I had a look at your patch and I tend to agree with Pekka. It really
> adds too much complexity for something that could be easily done in user
> space (could be more concise or even written in perl, awk, sed, python
> etc.):
>
> cat /sys/kernel/debug/kmemleak | tr "\n" "#" \
> | sed -e "s/#unreferenced/\nunreferenced/g" \
> | grep -v "tty_ldisc_try_get" | tr "#" "\n"
>
Well, it's hardly can be compared with
echo "block=ADDRESS_FROM_STACK" > /.../kmemleak
Frankly, I still found it useful (as you don't have to write in perl, awk, sed, python etc
to see 50 lines (you are interested in) out of 1000.
You just watching reports.)
(well, maybe not as useful as with syslog.)
Anyway, the decision is yours. And let it be so.
Thanks.
> Thanks anyway.
>
> --
> Catalin
>
Sergey
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists