[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200903082440.GH6220@alpha.franken.de>
Date: Thu, 3 Sep 2020 10:24:40 +0200
From: Thomas Bogendoerfer <tsbogend@...ha.franken.de>
To: Davidlohr Bueso <dave@...olabs.net>
Cc: oleg@...hat.com, linux-mips@...r.kernel.org,
linux-kernel@...r.kernel.org, Davidlohr Bueso <dbueso@...e.de>
Subject: Re: [PATCH] MIPS: Use rcu to lookup a task in
mipsmt_sys_sched_setaffinity()
On Mon, Aug 31, 2020 at 01:14:02PM -0700, Davidlohr Bueso wrote:
> The call simply looks up the corresponding task (without iterating
> the tasklist), which is safe under rcu instead of the tasklist_lock.
> In addition, the setaffinity counter part already does this.
>
> Signed-off-by: Davidlohr Bueso <dbueso@...e.de>
> ---
> arch/mips/kernel/mips-mt-fpaff.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
applied to mips-next.
Thomas.
--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]
Powered by blists - more mailing lists