lkml.org 
[lkml]   [2020]   [Feb]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 7/7] microblaze: Do atomic operations by using exclusive ops
(Forget to copy Andrea in the previous email)

Andrea, could you tell us more about how to use klitmus to generate test
modules from litmus test?

Regards,
Boqun

On Thu, Feb 13, 2020 at 07:34:32PM +0800, Boqun Feng wrote:
> On Thu, Feb 13, 2020 at 09:58:49AM +0100, Peter Zijlstra wrote:
> [...]
> >
> > > Also is there any testsuite I should run to verify all these atomics
> > > operations? That would really help but I haven't seen any tool (but also
> > > didn't try hard to find it out).
> >
> > Will, Paul; can't this LKMM thing generate kernel modules to run? And do
>
> The herd toolset does have something called klitmus:
>
> "an experimental tool, similar to litmus7 that runs kernel memory model
> tests as kernel modules."
>
> I think Andrea knows more about how to use it.
>
> > we have a 'nice' collection of litmus tests that cover atomic_t ?
> >
>
> There is a few in Paul's litmus repo:
>
> https://github.com/paulmckrcu/litmus/tree/master/manual/atomic
>
> Maybe a good start?
>
> Regards,
> Boqun
>
> > The one in atomic_t.txt should cover this one at least.

\
 
 \ /
  Last update: 2020-02-13 12:38    [W:0.151 / U:1.792 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site