Re: [RFC v2 1/3] migrate: new struct migration and add it to struct page

From: Minchan Kim
Date: Thu Oct 15 2015 - 05:54:18 EST


On Thu, Oct 15, 2015 at 11:27:15AM +0200, Vlastimil Babka wrote:
> On 10/15/2015 11:09 AM, Hui Zhu wrote:
> >I got that add function interfaces is really not a good idea.
> >So I add a new struct migration to put all migration interfaces and add
> >this struct to struct page as union of "mapping".
>
> That's better, but not as flexible as the previously proposed
> approaches that Sergey pointed you at:
>
> http://lkml.iu.edu/hypermail/linux/kernel/1507.0/03233.html
> http://lkml.iu.edu/hypermail/linux/kernel/1508.1/00696.html
>
> There the operations are reachable via mapping, so we can support
> the special operations migration also when mapping is otherwise
> needed; your patch excludes mapping.
>

Hello Hui,

FYI, I take over the work from Gioh and have a plan to improve the work.
So, Could you wait a bit? Of course, if you have better idea, feel free
to post it.

Thanks.
--
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/