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]
Message-ID: <CAJd=RBB1R5a_rtgFXMASX47_cD=4kKinX5WjAfYr1K_EDe=LEw@mail.gmail.com>
Date:	Thu, 24 May 2012 19:44:39 +0800
From:	Hillf Danton <dhillf@...il.com>
To:	LKML <linux-kernel@...r.kernel.org>,
	Hillf Danton <dhillf@...il.com>
Subject: Re: [patch] BFS 420: fix clear_sticky when breaking sole affinity

On Wed, May 23, 2012 at 8:55 PM, Hillf Danton <dhillf@...il.com> wrote:
> The sticky bit is cleared after checking the task with the bit set for
> given CPU.
>
> --- a/kernel/sched/bfs.c        Mon May 14 20:50:38 2012
> +++ b/kernel/sched/bfs.c        Wed May 23 20:16:18 2012
> @@ -5153,7 +5153,8 @@ static void break_sole_affinity(int src_
>                                       task_pid_nr(p), p->comm, src_cpu);
>                        }
>                }
> -               clear_sticky(p);
> +               if (task_sticky(p) && task_cpu(p) == src_cpu)
> +                       clear_sticky(p);
>        } while_each_thread(t, p);
>  }
>
> --

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ