lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Thu, 18 Feb 2021 18:51:24 +0000
From:   Valentin Schneider <valentin.schneider@....com>
To:     Lingutla Chandrasekhar <clingutla@...eaurora.org>,
        linux-kernel@...r.kernel.org
Cc:     juri.lelli@...hat.com, vincent.guittot@...aro.org,
        dietmar.eggemann@....com, rostedt@...dmis.org,
        pkondeti@...eaurora.org, peterz@...radead.org, mingo@...nel.org,
        Lingutla Chandrasekhar <clingutla@...eaurora.org>
Subject: Re: [PATCH] sched/fair: Ignore percpu threads for imbalance pulls

On 17/02/21 14:50, Valentin Schneider wrote:
> @@ -7539,6 +7539,9 @@ int can_migrate_task(struct task_struct *p, struct lb_env *env)
>       if (throttled_lb_pair(task_group(p), env->src_cpu, env->dst_cpu))
>               return 0;
>
> +	if (kthread_is_per_cpu(p))
> +		return 0;
> +

That's missing a (p->flags & PF_KTHREAD), but you get the idea...

Powered by blists - more mailing lists