[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2c5cdffd-f405-23b8-98f5-37b95ca9b027@suse.cz>
Date: Wed, 14 Aug 2019 11:19:37 +0200
From: Vlastimil Babka <vbabka@...e.cz>
To: Wei Yang <richardw.yang@...ux.intel.com>,
Christoph Hellwig <hch@...radead.org>
Cc: akpm@...ux-foundation.org, mgorman@...hsingularity.net,
osalvador@...e.de, linux-mm@...ck.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 3/3] mm/mmap.c: extract __vma_unlink_list as counter part
for __vma_link_list
On 8/14/19 8:57 AM, Wei Yang wrote:
> On Tue, Aug 13, 2019 at 10:16:11PM -0700, Christoph Hellwig wrote:
>>Btw, is there any good reason we don't use a list_head for vma linkage?
>
> Not sure, maybe there is some historical reason?
Seems it was single-linked until 2010 commit 297c5eee3724 ("mm: make the vma
list be doubly linked") and I guess it was just simpler to add the vm_prev link.
Conversion to list_head might be an interesting project for some "advanced
beginner" in the kernel :)
Powered by blists - more mailing lists