Messages in this thread | | | Date | Fri, 10 Aug 2012 20:00:28 +0800 | Subject | Re: [patch] mmap: feed back correct prev vma when finding vma | From | Hillf Danton <> |
| |
On Fri, Aug 10, 2012 at 9:26 AM, Hugh Dickins <hughd@google.com> wrote: > On Thu, 9 Aug 2012, Hillf Danton wrote: >> After walking rb tree, if vma is determined, prev vma has to be determined >> based on vma; and rb_prev should be considered only if no vma determined. > > Why? Because you think more code is better code? I disagree.
s/more/correct/
Because feedback is incorrect if we return vma corresponding to the root node.
Hillf
| |