[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20090302101231.GC7410@in.ibm.com>
Date: Mon, 2 Mar 2009 15:42:31 +0530
From: Ankita Garg <ankita@...ibm.com>
To: Bernd Petrovitsch <bernd@...mix.at>
Cc: Frank Seidel <fseidel@...e.de>,
linux kernel <linux-kernel@...r.kernel.org>,
akpm@...ux-foundation.org, Adrian Bunk <bunk@...nel.org>,
Randy Dunlap <randy.dunlap@...cle.com>,
Frank Seidel <frank@...eidel.de>, kernalert.de@...il.com
Subject: Re: [PATCH] lkdtm: reduce stack size
Hi Bernd,
On Mon, Mar 02, 2009 at 10:51:30AM +0100, Bernd Petrovitsch wrote:
> Hi!
>
> On Mon, 2009-03-02 at 09:41 +0530, Ankita Garg wrote:
> > Hi Frank,
> >
> > On Sun, Mar 01, 2009 at 09:00:14PM +0100, Frank Seidel wrote:
> > > From: Frank Seidel <frank@...eidel.de>
> > >
> > > Reduce stack memory footprint of lkdtm
> > > (recursive_loop). From 1024 bytes on i386 down
> > > to <10.
> > >
> >
> > The intention here is infact to trigger a stack overflow. This module is
> > used to test kernel dumping mechanism like kdump. So the expectation is
> > that the kernel will dump as soon as the stack overflows.
>
> That answers why the variable exists at all. It is only zeroed and never
> else used.
> Hmm, adding the above as a comment makes probably sense.
>
There is some text at the head of the module file that explains what the
module does and the usage, etc. I suppose that would be sufficient ?
--
Regards,
Ankita Garg (ankita@...ibm.com)
Linux Technology Center
IBM India Systems & Technology Labs,
Bangalore, India
--
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