Re: [PATCH] no buddy bitmap patch : intro and includes [0/2]

From: Martin J. Bligh
Date: Thu Oct 07 2004 - 11:03:30 EST


--Dave Hansen <haveblue@xxxxxxxxxx> wrote (on Thursday, October 07, 2004 08:39:38 -0700):

> On Thu, 2004-10-07 at 08:03, Tolentino, Matthew E wrote:
>> >> Followings are patches for removing bitmaps from buddy=20
>> > allocator, against 2.6.9-rc3.
>> >> I think this version is much clearer than ones I posted a month ago.
>> > ...
>> >> If there is unclear point, please tell me.
>> >
>> > What was the purpose behind this, again? Sorry, has been too long since
>> > I last looked.
>>
>> For one, it avoids the otherwise requisite resizing of the bitmaps=20
>> during memory hotplug operations...
>
> It also simplifies the nonlinear implementation. The whole reason we
> had the lpfn (Linear) stuff was so that the bitmaps could represent a
> sparse physical address space in a much more linear fashion. With no
> bitmaps, this isn't an issue, and gets rid of a lot of code, and a
> *huge* source of bugs where lpfns and pfns are confused for each other.

Makese sense on both counts. Would be nice to add the justification to
the changelog ;-)

M.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/