[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <E0B0C3E3-5AA5-4AEC-A11A-B55040A007C3@intel.com>
Date: Thu, 5 Jul 2018 01:08:45 +0000
From: "Yang, Bin" <bin.yang@...el.com>
To: Thomas Gleixner <tglx@...utronix.de>
CC: "mingo@...nel.org" <mingo@...nel.org>,
"hpa@...or.com" <hpa@...or.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"peterz@...radead.org" <peterz@...radead.org>,
"x86@...nel.org" <x86@...nel.org>
Subject: Re: [PATCH] x86/mm: fix cpu stuck issue in
__change_page_attr_set_clr
This is what my new patch tries to improve.
On 04/07/2018, 10:02 PM, "Thomas Gleixner" <tglx@...utronix.de> wrote:
The check loop itself is stupid as well. Instead of looping in 4K steps
the thing can be rewritten to check for overlapping ranges and then check
explicitely for those. If there is no overlap in the first place the
whole loop thing can be avoided, but that's a pure optimization and needs
more thought than the straight forward and obvious solution to the
problem at hand.
Powered by blists - more mailing lists