public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [ANNOUNCE] KernelStrider 0.3
@ 2014-02-27 14:11 Eugene Shatokhin
  2014-02-27 21:58 ` Andi Kleen
  0 siblings, 1 reply; 3+ messages in thread
From: Eugene Shatokhin @ 2014-02-27 14:11 UTC (permalink / raw)
  To: LKML

KernelStrider 0.3 has been released.

KernelStrider system can be used to detect data races in the Linux 
kernel modules, especially the drivers involved in wired and wireless 
networking. Currently, it works on x86 only. The code is under GPL v2 
license.

KernelStrider instruments the kernel modules under analysis in runtime. 
When the code of these modules is executed, KernelStrider collects 
information about the memory locations accessed by that code, about the 
functions called, etc. The collected data are passed to user space where 
they can be analyzed by ThreadSanitizer (Google) [1] to reveal potential 
races.

Most significant changes in version 0.3:
* Implemented compression of the output data with LZO to increase 
throughput, etc.
* Provided a helper script (kedr.py) to simplify loading/unloading of 
kernel-mode components.
* Applied several fixes in handling of NAPI callbacks and netdev operations.
* Fixed handling of recursive calls (such things can still be found in 
some out-of-tree kernel modules).
* Fixed lockdep warnings in the handlers for alloc/free operations.

Downloads, tutorials, etc., are available at
http://code.google.com/p/kernel-strider/

Now that version 0.3 is out, I might finally find time to experiment 
with compile-time instrumentation suggested by some of you many times 
(in addition to the runtime instrumentation technique used in 
KernelStrider now). In some future version, I also plan to make 
KernelStrider part of KEDR framework [2], which I also maintain.

Suggestions, bug reports and other kinds of feedback are welcome, as usual.

Regards,
Eugene

[1] http://code.google.com/p/data-race-test/
[2] http://code.google.com/p/kedr/

-- 
Eugene Shatokhin, ROSA
www.rosalab.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ANNOUNCE] KernelStrider 0.3
  2014-02-27 14:11 [ANNOUNCE] KernelStrider 0.3 Eugene Shatokhin
@ 2014-02-27 21:58 ` Andi Kleen
  2014-02-28  7:01   ` Eugene Shatokhin
  0 siblings, 1 reply; 3+ messages in thread
From: Andi Kleen @ 2014-02-27 21:58 UTC (permalink / raw)
  To: Eugene Shatokhin; +Cc: LKML

Eugene Shatokhin <eugene.shatokhin@rosalab.ru> writes:
>
> Suggestions, bug reports and other kinds of feedback are welcome, as usual.

The interesting part is: what problems did you find using it?

-Andi

-- 
ak@linux.intel.com -- Speaking for myself only

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ANNOUNCE] KernelStrider 0.3
  2014-02-27 21:58 ` Andi Kleen
@ 2014-02-28  7:01   ` Eugene Shatokhin
  0 siblings, 0 replies; 3+ messages in thread
From: Eugene Shatokhin @ 2014-02-28  7:01 UTC (permalink / raw)
  To: Andi Kleen; +Cc: LKML

On 02/28/2014 01:58 AM, Andi Kleen wrote:
> The interesting part is: what problems did you find using it?
>

I listed some of these here along with the links to the bug reports:
http://code.google.com/p/kernel-strider/wiki/RacesFound

The hunt still continues though.

Besides the races listed there, the tools found a number of less 
significant of benign ones (racy stat updates, etc.).

Regards,
Eugene

-- 
Eugene Shatokhin, ROSA
www.rosalab.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-02-28  7:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-27 14:11 [ANNOUNCE] KernelStrider 0.3 Eugene Shatokhin
2014-02-27 21:58 ` Andi Kleen
2014-02-28  7:01   ` Eugene Shatokhin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox