Messages in this thread | | | Date | Wed, 4 Sep 2019 22:03:08 -0700 | From | Davidlohr Bueso <> | Subject | Re: [PATCH 1/3] x86,mm/pat: Use generic interval trees |
| |
On Wed, 04 Sep 2019, Michel Lespinasse wrote:
>Hi Davidlohr, > >On Wed, Sep 4, 2019 at 5:52 PM Davidlohr Bueso <dave@stgolabs.net> wrote: >> Ok, so for that I've added the following helper which will make the >> conversion a bit more straightforward: >> >> #define vma_interval_tree_foreach_stab(vma, root, start) >> vma_interval_tree_foreach(vma, root, start, start) > >Yes, that should help with the conversion :) > >> I think this also makes sense as it documents the nature of the lookup.
Because this is a nice helper regardless of the interval tree stuff, I went ahead and sent a patch as well as the conversion, which is quite trivial, and hopefully akpm can pick it up for -next; which makes one less patch to carry when doing the interval tree conversion series.
Thanks, Davidlohr
| |