Re: [PATCHv5 1/3] mm: export use_mm/unuse_mm to modules

2009-08-28 Thread Gregory Haskins
Michael S. Tsirkin wrote: vhost net module wants to do copy to/from user from a kernel thread, which needs use_mm (like what fs/aio has). Move that into mm/ and export to modules. Michael, Andrew, I am just curious: Is there any technical reason why a kthread cannot have a long-term

[PATCHv5 1/3] mm: export use_mm/unuse_mm to modules

2009-08-27 Thread Michael S. Tsirkin
vhost net module wants to do copy to/from user from a kernel thread, which needs use_mm (like what fs/aio has). Move that into mm/ and export to modules. Acked-by: Andrew Morton a...@linux-foundation.org Acked-by: Andrea Arcangeli aarca...@redhat.com Signed-off-by: Michael S. Tsirkin