]> git.baikalelectronics.ru Git - kernel.git/commit
mm: make the vma list be doubly linked
authorLinus Torvalds <torvalds@linux-foundation.org>
Fri, 20 Aug 2010 23:24:55 +0000 (16:24 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 21 Aug 2010 15:49:21 +0000 (08:49 -0700)
commit51aac72579db34a06abddbebb5d66be72b3c1470
tree18415eae0833ff4767943f985900524d6b1d73f1
parentef08a768078bc308f7379335f6278876a4834793
mm: make the vma list be doubly linked

It's a really simple list, and several of the users want to go backwards
in it to find the previous vma.  So rather than have to look up the
previous entry with 'find_vma_prev()' or something similar, just make it
doubly linked instead.

Tested-by: Ian Campbell <ijc@hellion.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/mm_types.h
kernel/fork.c
mm/mmap.c
mm/nommu.c