This is what my new patch tries to improve. On 04/07/2018, 10:02 PM, "Thomas Gleixner" <t...@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.