Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1247608

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

From Vlastimil Babka <vbabka@suse.cz>
Newsgroups linux.kernel
Subject Re: [RFC v2 1/3] migrate: new struct migration and add it to struct page
Date 2015-10-15 11:30 +0200
Message-ID <qjN1f-2cP-7@gated-at.bofh.it> (permalink)
References <qjN1f-2cP-9@gated-at.bofh.it> <qjN1f-2cP-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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.

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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: [RFC v2 1/3] migrate: new struct migration and add it to struct  page Vlastimil Babka <vbabka@suse.cz> - 2015-10-15 11:30 +0200
  Re: [RFC v2 1/3] migrate: new struct migration and add it to struct  page Minchan Kim <minchan@kernel.org> - 2015-10-15 12:00 +0200

csiph-web