mm: nommu: find vma using the sorted vma list
authorNamhyung Kim <namhyung@gmail.com>
Wed, 25 May 2011 00:11:24 +0000 (17:11 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 25 May 2011 15:39:06 +0000 (08:39 -0700)
commite922c4c5360980bfeb862b3ec307d36bb344dcae
treee8f4339b198dbb9830ec5313c6cc7ca639704c33
parentb951bf2c4693bfc9744e11293be859209f65f579
mm: nommu: find vma using the sorted vma list

Now we have the sorted vma list, use it in the find_vma[_exact]() rather
than doing linear search on the rb-tree.

Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Acked-by: Greg Ungerer <gerg@uclinux.org>
Cc: David Howells <dhowells@redhat.com>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/nommu.c