Messages in this thread | | | Date | Wed, 20 Feb 2013 18:23:39 +0800 | From | Lin Feng <> | Subject | Re: [PATCH 1/2] mm: hotplug: implement non-movable version of get_user_pages() called get_user_pages_non_movable() |
| |
Hi Simon,
On 02/20/2013 05:58 PM, Simon Jeons wrote: > >> >> The other is that this almost certainly broken for transhuge page >> handling. gup returns the head and tail pages and ordinarily this is ok > > When need gup thp? in kvm case?
gup just pins the wanted pages(for x86 is 4k size) of user address space in memory. We can't expect the pages have been allocated for user address space are thp or normal page. So we need to deal with them and I think it have nothing to do with kvm.
thanks, linfeng
| |