Messages in this thread | | | From | "Yang, Bin" <> | Subject | Re: [PATCH] x86/mm: fix cpu stuck issue in __change_page_attr_set_clr | Date | Thu, 5 Jul 2018 01:08:45 +0000 |
| |
This is what my new patch tries to improve.
On 04/07/2018, 10:02 PM, "Thomas Gleixner" <tglx@linutronix.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.
| |