From: Rik van Riel <riel@redhat.com>
To: Ingo Molnar <mingo@kernel.org>
Cc: "H. Peter Anvin" <hpa@zytor.com>,
serebrin@google.com, peterz@infradead.org,
linux-kernel@vger.kernel.org, luto@kernel.org, bp@suse.de,
mgorman@suse.de, tglx@linutronix.de,
Linus Torvalds <torvalds@linux-foundation.org>
Subject: Re: [PATCH RFC v3] x86,mm,sched: make lazy TLB mode even lazier
Date: Mon, 29 Aug 2016 11:24:22 -0400 [thread overview]
Message-ID: <1472484262.32433.95.camel@redhat.com> (raw)
In-Reply-To: <20160827080316.GA11325@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1225 bytes --]
On Sat, 2016-08-27 at 10:03 +0200, Ingo Molnar wrote:
> * Rik van Riel <riel@redhat.com> wrote:
>
> > On Thu, 25 Aug 2016 12:42:15 -0700
> > "H. Peter Anvin" <hpa@zytor.com> wrote:
> >
> > > Why grabbing a lock instead of cmpxchg?
> >
> > ... and some more cleanups later, this might actually be
> > good to merge, assuming it works for Benjamin :)
> >
> > ---8<---
>
> LGTM in principle (it's a pretty clever trick!), just some minor
> stylistic nits:
Thanks for the review. I have applied the stylistic nits, and
turned lazy_tlb_can_skip_flush into a big switch statement as
suggested by Linus.
> > + */
> > + for_each_cpu(cpu, cpumask)
> > + if (lazy_tlb_can_skip_flush(cpu))
> > + cpumask_clear_cpu(cpu, (struct cpumask
> > *)cpumask);
>
> Please remove the 'const' from the cpumask type definition instead of
> this ugly
> cast!
I played around with this on Thursday already, and ran out of
time to clean that up before going to the next talk. This will
be fixed in the next version.
> I'd also like to wait for the Tested-by from Benjamin as well before
> we can
> proceeed.
Agreed.
Ben, a new version is coming up real soon.
--
All Rights Reversed.
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
next prev parent reply other threads:[~2016-08-29 15:24 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-25 19:04 [PATCH RFC UGLY] x86,mm,sched: make lazy TLB mode even lazier Rik van Riel
2016-08-25 19:42 ` H. Peter Anvin
2016-08-25 19:52 ` Rik van Riel
2016-08-25 20:15 ` [PATCH RFC v2] " Rik van Riel
2016-08-25 21:01 ` [PATCH RFC v3] " Rik van Riel
2016-08-27 8:03 ` Ingo Molnar
2016-08-27 23:02 ` Linus Torvalds
2016-08-30 19:53 ` [PATCH RFC v4] " Rik van Riel
2016-08-30 21:09 ` [PATCH RFC v5] " Rik van Riel
2016-08-31 16:27 ` [PATCH RFC v6] " Rik van Riel
2016-09-08 6:56 ` Ingo Molnar
2016-09-09 0:09 ` Benjamin Serebrin
2016-09-09 4:39 ` Andy Lutomirski
2016-09-09 7:44 ` Peter Zijlstra
2017-04-25 3:30 ` Andy Lutomirski
2016-08-29 15:24 ` Rik van Riel [this message]
2016-08-29 16:08 ` [PATCH RFC UGLY] " Rik van Riel
2016-08-28 8:11 ` Andy Lutomirski
2016-08-29 14:54 ` Rik van Riel
2016-08-29 23:55 ` Andy Lutomirski
2016-08-30 1:14 ` H. Peter Anvin
2016-08-30 18:23 ` Andy Lutomirski
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=1472484262.32433.95.camel@redhat.com \
--to=riel@redhat.com \
--cc=bp@suse.de \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=luto@kernel.org \
--cc=mgorman@suse.de \
--cc=mingo@kernel.org \
--cc=peterz@infradead.org \
--cc=serebrin@google.com \
--cc=tglx@linutronix.de \
--cc=torvalds@linux-foundation.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.