All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sasha Levin <sasha.levin@oracle.com>
To: Julia Lawall <julia.lawall@lip6.fr>,
	"ksummit-discuss@lists.linuxfoundation.org"
	<ksummit-discuss@lists.linuxfoundation.org>
Subject: Re: [Ksummit-discuss] Self nomination
Date: Fri, 31 Jul 2015 13:49:08 -0400	[thread overview]
Message-ID: <55BBB514.7060509@oracle.com> (raw)
In-Reply-To: <alpine.DEB.2.02.1507310650220.2218@localhost6.localdomain6>

On 07/31/2015 12:51 AM, Julia Lawall wrote:
>> I'd like to nominate myself to this year's kernel summit.
>> > 
>> > Mainly I'd like to talk about improving testing around the kernel, both by catching bugs
>> > and by improving the quality of debug output that comes out of the kernel.
> Improving it in what way?  We are doing some research related to logging 
> at the moment, and so I would be interested to hear what you think are the 
> problems.

>From my perspective the biggest issue is making a given error state more reproducible. Quite
often I am able to trigger a bug on my testing box, but the information the kernel spits out
(backtrace + registers) aren't too useful if the problem is complicated.

The result is that finding out what happens depends on few people who are able to "magically"
trigger bugs and result in a long and inefficient back and forth while the bug manages to
sneak in upstream and to users hands.

To sum it up, I think we need to figure out a way to produce enough information to make bugs
more reproducible, but not too much to avoid a needle in a haystack situation.

In this regard, the new Intel PT technology is interesting and it's also worth figuring out
a good way to integrate it with our current infrastructure/tools.


Among other, less urgent ideas I'd like to discuss are:

 - Using KASan for poison fields. Quite a few structures have embedded poison fields. Rather
than detecting a corruption after it happens we are able to detect it as it happens - making
bugs more obvious.

 - Encouraging folks who add new sysctls (or features to existing sysctls) to contribute
testing code to the various testing projects around (trinity and such).

 - Improving userspace tooling to make transfer of information simpler (along the lines of
scripts/decode_stacktrace.sh that no one seems to be using).

I suppose it'll be interesting to discuss the idea of making the kernel dump a "black box"
on panic. Not just the core memory, but also various parameters regarding configuration and
such, to enable folks to provide us with more than just backtraces.


Thanks,
Sasha

  parent reply	other threads:[~2015-07-31 17:49 UTC|newest]

Thread overview: 65+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-31  2:55 [Ksummit-discuss] Self nomination Sasha Levin
2015-07-31 16:27 ` Bjorn Helgaas
2015-07-31 16:59   ` Guenter Roeck
2015-07-31 17:03     ` Bjorn Helgaas
2015-07-31 17:08     ` Greg KH
2015-07-31 17:15       ` Guenter Roeck
2015-07-31 17:51         ` Bjorn Helgaas
2015-07-31 18:12           ` Greg KH
2015-07-31 18:17             ` Dave Jones
2015-07-31 18:22               ` Greg KH
2015-07-31 18:59                 ` Dan Williams
2015-08-01 13:03                   ` Jiri Kosina
2015-07-31 17:26       ` James Bottomley
2015-07-31 17:43         ` Greg KH
2015-07-31 17:49         ` Sasha Levin
     [not found] ` <alpine.DEB.2.02.1507310650220.2218@localhost6.localdomain6>
2015-07-31 17:49   ` Sasha Levin [this message]
2015-08-01 13:45     ` Dan Carpenter
2015-08-01 15:26       ` Sasha Levin
2015-08-01 16:22         ` Greg KH
2015-08-03  5:14           ` Sasha Levin
2015-08-01 20:30         ` Dave Jones
2015-08-03  5:17           ` Sasha Levin
2015-07-31  9:15 David Howells
2015-08-11  5:05 Haggai Eran
2015-08-24  4:20 [Ksummit-discuss] [TECH TOPIC] Kernel Hardening James Morris
2015-08-24 11:46 ` Jiri Kosina
2015-08-24 11:56   ` James Morris
2015-08-24 17:17     ` Kees Cook
2015-08-26 20:51       ` Kees Cook
2015-08-26 21:10         ` Matthew Garrett
2015-08-30  0:41           ` [Ksummit-discuss] Self nomination Matthew Garrett
2016-07-25 17:11 Johannes Weiner
2016-07-25 18:15 ` Rik van Riel
2016-07-26 10:56   ` Jan Kara
2016-07-26 13:10     ` Vlastimil Babka
2016-07-25 21:46 [Ksummit-discuss] self nomination Kevin Hilman
2016-07-26 15:44 [Ksummit-discuss] Self nomination David Woodhouse
2016-07-26 22:30 Dmitry Torokhov
2016-07-28 10:14 ` Marc Zyngier
2016-08-02  8:09   ` Linus Walleij
2016-08-02 23:00     ` Rafael J. Wysocki
2016-08-03  8:12       ` Marek Szyprowski
2016-08-06  0:20         ` Rafael J. Wysocki
2016-08-06  0:20           ` Rafael J. Wysocki
2016-08-24 12:12           ` Marek Szyprowski
2016-08-24 12:12             ` Marek Szyprowski
2016-08-24 17:32             ` Rafael J. Wysocki
2016-08-24 17:32               ` Rafael J. Wysocki
2016-08-08 11:07   ` Lorenzo Pieralisi
2016-09-23 10:42     ` Grant Likely
2016-07-26 23:59 Stephen Rothwell
2016-07-28 12:23 ` Luis de Bethencourt
2016-07-27  0:50 Sergey Senozhatsky
2016-07-27  4:46 Darren Hart
2016-07-27  9:25 ` Linus Walleij
2016-07-27 17:02   ` Darren Hart
2016-08-04 12:30   ` Geert Uytterhoeven
2016-07-27 13:57 Lorenzo Pieralisi
2016-07-27 14:54 Mark Rutland
2016-07-27 23:20 [Ksummit-discuss] self nomination Davidlohr Bueso
2016-07-28  7:18 ` Jan Kara
2016-07-28 14:37 ` Rik van Riel
2016-07-29  6:17 ` Wangnan (F)
2016-07-29 23:53   ` Davidlohr Bueso
2016-07-28 17:29 James Bottomley
2016-07-28 17:31 ` James Bottomley
2016-07-29 15:13 [Ksummit-discuss] Self nomination Bartlomiej Zolnierkiewicz
2016-07-29 22:45 [Ksummit-discuss] self nomination Mimi Zohar
2016-07-30  0:32 [Ksummit-discuss] Self nomination Ben Hutchings
2016-07-31  6:57 Olof Johansson
2016-08-02 19:56 ` Mark Brown

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=55BBB514.7060509@oracle.com \
    --to=sasha.levin@oracle.com \
    --cc=julia.lawall@lip6.fr \
    --cc=ksummit-discuss@lists.linuxfoundation.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.