Thread (13 messages) 13 messages, 2 authors, 2021-07-23

Re: [PATCH v2 1/4] selftests: add tests_sysfs module

From: Luis Chamberlain <mcgrof@kernel.org>
Date: 2021-07-23 17:32:59
Also in: linux-block, linux-kselftest, lkml

On Fri, Jul 23, 2021 at 12:38:27PM +0200, Greg KH wrote:
On Thu, Jul 22, 2021 at 03:34:49PM -0700, Luis Chamberlain wrote:
quoted
kunit relies on UML and UML is a simple one core architecture, to start
with.
I thought the UML requirement was long gone, are you sure it is still
present?
It's *the* way to run kunit.
quoted
This means I cannot run tests for multicore with it, which is
where many races do happen! Yes, you can run kunit on other
architectures, but all that is new.
What do you mean by "new"?  It should work today, in today's kernel
tree, right?
That was experimental. And I know no one using it.
quoted
In this case kunit is not ideal given I want to mimic something in
userspace interaction, and expose races through error injection and
if we can use as many cores to busy races out.
Can you not do that with kunit?  If not, why not?
kunit requires codifying everything in C, what we need is a lot of
flexibility to do all sorts of races in userspace, and actually use
userspace tools.

I am *not* going to even try to rewrite my selftest as a kunit test.
It is just not going to happen.

  Luis
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help