From: Peter Zijlstra <peterz@infradead.org>
To: Avi Kivity <avi@scylladb.com>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>,
"Paul E. McKenney" <paulmck@linux.vnet.ibm.com>,
maged michael <maged.michael@gmail.com>,
Andrew Hunter <ahh@google.com>, gromer <gromer@google.com>,
linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: Udpated sys_membarrier() speedup patch, FYI
Date: Mon, 31 Jul 2017 10:37:46 +0200 [thread overview]
Message-ID: <20170731083746.mggdh7pcdycjte2c@hirez.programming.kicks-ass.net> (raw)
In-Reply-To: <f3078a0e-0f2b-c773-228f-988087d0561a@scylladb.com>
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.
next prev parent reply other threads:[~2017-07-31 8:38 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-27 18:12 Paul E. McKenney
2017-07-27 18:36 ` Andrew Hunter
2017-07-27 19:06 ` Paul E. McKenney
2017-07-28 17:37 ` Andrew Hunter
2017-07-28 18:14 ` Paul E. McKenney
2017-07-27 19:20 ` Avi Kivity
2017-07-27 19:43 ` Paul E. McKenney
2017-07-27 20:04 ` Avi Kivity
2017-07-27 20:37 ` Paul E. McKenney
2017-07-27 20:58 ` Mathieu Desnoyers
2017-07-27 21:02 ` Mathieu Desnoyers
2017-07-31 6:03 ` Avi Kivity
2017-07-31 8:37 ` Peter Zijlstra [this message]
2017-07-31 8:53 ` Avi Kivity
2017-07-28 17:15 ` Andrew Hunter
2017-07-28 17:25 ` Mathieu Desnoyers
2017-07-28 17:31 ` Paul E. McKenney
2017-07-28 17:48 ` Mathieu Desnoyers
2017-07-31 18:00 ` Dave Watson
2017-07-31 18:27 ` Paul E. McKenney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170731083746.mggdh7pcdycjte2c@hirez.programming.kicks-ass.net \
--to=peterz@infradead.org \
--cc=ahh@google.com \
--cc=avi@scylladb.com \
--cc=gromer@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=maged.michael@gmail.com \
--cc=mathieu.desnoyers@efficios.com \
--cc=paulmck@linux.vnet.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®