[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3ac1d851-d833-004c-3c3b-b4d804cbca69@scylladb.com>
Date: Mon, 31 Jul 2017 11:53:59 +0300
From: Avi Kivity <avi@...lladb.com>
To: Peter Zijlstra <peterz@...radead.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@...icios.com>,
"Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>,
maged michael <maged.michael@...il.com>,
Andrew Hunter <ahh@...gle.com>, gromer <gromer@...gle.com>,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: Udpated sys_membarrier() speedup patch, FYI
On 07/31/2017 11:37 AM, Peter Zijlstra wrote:
> On Mon, Jul 31, 2017 at 09:03:09AM +0300, Avi Kivity wrote:
>> I remembered that current->mm does not change when switching to a kernel
>> task, but my Kernlish is very rusty, or maybe it has changed.
> kernel threads do indeed preserve the mm of the old userspace task, but
> we track that in ->active_mm. Their ->mm will be NULL.
Gah, I'm so rusty, if I were any rustier I'd be doing bitcoin.
Powered by blists - more mailing lists