Re: [PATCH v2 2/4] mm/sparse: introduce alloc_usemap_and_memmap

From: Yinghai Lu
Date: Wed Aug 28 2013 - 22:34:53 EST


On Wed, Aug 28, 2013 at 7:18 PM, Yinghai Lu <yinghai@xxxxxxxxxx> wrote:
> please change to function pointer to
> void (*alloc_func)(void *data,
> unsigned long pnum_begin,
> unsigned long pnum_end,
> unsigned long map_count, int nodeid)
>
> pnum_begin, pnum_end, map_coun, nodeid, should not be in the struct.

looks like that is what is your first version did.

I updated it a little bit. please check it.

Thanks

Yinghai

Attachment: 0001-sparse_v2.patch
Description: Binary data