Messages in this thread |  | | Date | Fri, 7 Sep 2018 09:49:59 +0200 (CEST) | From | Thomas Gleixner <> | Subject | Re: [PATCH v3 4/5] x86/mm: optimize static_protection() by using overlap() |
| |
On Fri, 7 Sep 2018, Yang, Bin wrote: > On Tue, 2018-09-04 at 14:22 +0200, Thomas Gleixner wrote: > > I just write a test.c to compare the result between overlap() and > original within().
You are right. Your version of doing the overlap exclusive works. I misread the conditions. I still prefer doing inclusive checks because they are way more obvious.
Thanks,
tglx
|  |