All of lore.kernel.org
 help / color / mirror / Atom feed
From: Cyril Hrubis <chrubis@suse.cz>
To: Andrea Cervesato <andrea.cervesato@suse.com>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH 2/2] cpuset_memory: Fix race in multinode subtests
Date: Wed, 17 Dec 2025 10:39:26 +0100	[thread overview]
Message-ID: <aUJ6TnerN5QKSfrm@yuki.lan> (raw)
In-Reply-To: <DF0B0KNU874U.AETPU4ILX5BI@suse.com>

Hi!
> > I wonder if this very old test is in a long run worth to rewrite into C, as depending on
> > sleep is not a good idea and C API would hopefully help to avoid it. (Yeah, we
> > discuss sleep as a part of ground rules [1].)
> 
> I tried, and I gave up :-) too many testcases and a really messy code. I
> really wish we could rewrite it, but this is one of those tests which is
> not worth the effort.

We will have to rewrite it eventually, it's not that complex, just big.
I guess that we need to isolate and rewrite one test after another while
putting the common code into a library.

-- 
Cyril Hrubis
chrubis@suse.cz

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

  reply	other threads:[~2025-12-17  9:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-16 17:30 [LTP] [PATCH 1/2] cpuset_memory: Print basic subtest descriptions Martin Doucha
2025-12-16 17:30 ` [LTP] [PATCH 2/2] cpuset_memory: Fix race in multinode subtests Martin Doucha
2025-12-17  7:08   ` Petr Vorel
2025-12-17  7:13     ` Andrea Cervesato via ltp
2025-12-17  9:39       ` Cyril Hrubis [this message]
2025-12-17  7:12 ` [LTP] [PATCH 1/2] cpuset_memory: Print basic subtest descriptions Petr Vorel
2025-12-17 10:26   ` Martin Doucha

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=aUJ6TnerN5QKSfrm@yuki.lan \
    --to=chrubis@suse.cz \
    --cc=andrea.cervesato@suse.com \
    --cc=ltp@lists.linux.it \
    /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.