Re: [PATCH v3] mm: simplify find_vma_prev
From: KAMEZAWA Hiroyuki
Date: Mon Dec 12 2011 - 04:28:29 EST
On Mon, 12 Dec 2011 09:49:30 +0900
KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx> wrote:
> On Fri, 9 Dec 2011 17:48:40 -0500
> kosaki.motohiro@xxxxxxxxx wrote:
>
> > From: KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx>
> >
> > commit 297c5eee37 (mm: make the vma list be doubly linked) added
> > vm_prev member into vm_area_struct. Therefore we can simplify
> > find_vma_prev() by using it. Also, this change help to improve
> > page fault performance because it has strong locality of reference.
> >
> > Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx>
>
> Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx>
>
Hmm, your work remind me of a patch I tried in past.
Here is a refleshed one...how do you think ?
==