lkml.org 
[lkml]   [2010]   [Jan]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Provide ways of crashing the kernel through debugfs
On Fri, 29 Jan 2010 07:13:24 +0100 Simon Kagstrom <simon.kagstrom@netinsight.net> wrote:

> On Thu, 28 Jan 2010 16:38:02 +0200
> Artem Bityutskiy <dedekind1@gmail.com> wrote:
>
> > On Wed, 2010-01-27 at 10:53 +0800, Am__rico Wang wrote:
> > > > Well, it provides a few more ways of crashing the kernel. That's
> > > > basically the only additional feature you'll get.
> > >
> > > Yeah, I can see that, but why do I need to care how I crash the kernel
> > > as long as I can crash it in a way.
> >
> > But Simon did explain in his first e-mail why he cares. You or others
> > might care for similar reasons.
>
> Another argument for the patch is that it's simple and well-contained,
> it doesn't touch any other code apart from the driver itself.
>
> It is also easy to extend with other tests, e.g., provoking kernel
> hangs to test watchdogs and so on.
>

Yes, it's the sort of thing which lots of people have written
throw-away ad-hoc versions of. It probably makes sense to do it once,
do it right to save people from having to rererereinvent that wheel.

What do others think?


\
 
 \ /
  Last update: 2010-01-29 11:37    [W:0.103 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site