lkml.org 
[lkml]   [2022]   [Nov]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [RFC PATCH 10/11] torture: support randomized shuffling for proxy exec testing
> Instead of doing it this way, maybe another approach is to randomize the
> sleep interval in:
>
> */
> static int torture_shuffle(void *arg)
> {
> VERBOSE_TOROUT_STRING("torture_shuffle task started");
> do {
> schedule_timeout_interruptible(shuffle_interval);
> torture_shuffle_tasks();
> ...
> } while (...)
> ...
> }
>
> Right now with this patch you still wakeup the shuffle thread when skipping
> the affinity set operation.
>
> thanks,
>
> - Joel
>

Wouldn't the affinities of all the tasks still change in lockstep
then? The intent with this patch is to get into situations where the
tasks have different affinity masks, which I think requires changing
the behavior of torture_shuffle_tasks() rather than how often it's
called.

\
 
 \ /
  Last update: 2022-11-14 21:45    [W:2.234 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site