[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090311104018.GA2376@x200.localdomain>
Date: Wed, 11 Mar 2009 13:40:18 +0300
From: Alexey Dobriyan <adobriyan@...il.com>
To: Daniel Lowengrub <lowdanie@...il.com>
Cc: linux-mm@...ck.org, Ingo Molnar <mingo@...e.hu>,
a.p.zijlstra@...llo.nl, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] mm: use list.h for vma list
On Wed, Mar 11, 2009 at 11:55:48AM +0200, Daniel Lowengrub wrote:
> Use the linked list defined list.h for the list of vmas that's stored
> in the mm_struct structure. Wrapper functions "vma_next" and
> "vma_prev" are also implemented. Functions that operate on more than
> one vma are now given a list of vmas as input.
> Signed-off-by: Daniel Lowengrub
That's not how S-o-b line should look like.
> --- linux-2.6.28.7.vanilla/arch/alpha/kernel/osf_sys.c
> +++ linux-2.6.28.7/arch/alpha/kernel/osf_sys.c
> @@ -1197,7 +1197,7 @@
> if (!vma || addr + len <= vma->vm_start)
> return addr;
> addr = vma->vm_end;
> - vma = vma->vm_next;
> + vma = vma_next(vma);
Well, this bloats both mm_struct and vm_area_struct.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists