On Fri 05-10-18 19:49:49, [email protected] wrote: > From: John Hubbard <[email protected]> > > For code that retains pages via get_user_pages*(), > release those pages via the new put_user_page(), or > put_user_pages*(), instead of put_page() > > This prepares for eventually fixing the problem described > in [1], and is following a plan listed in [2], [3], [4]. > > [1] https://lwn.net/Articles/753027/ : "The Trouble with get_user_pages()" > > [2] https://lkml.kernel.org/r/[email protected] > Proposed steps for fixing get_user_pages() + DMA problems. > > [3]https://lkml.kernel.org/r/[email protected] > Bounce buffers (otherwise [2] is not really viable). > > [4] https://lkml.kernel.org/r/[email protected] > Follow-up discussions. > > CC: Doug Ledford <[email protected]> > CC: Jason Gunthorpe <[email protected]> > CC: Mike Marciniszyn <[email protected]> > CC: Dennis Dalessandro <[email protected]> > CC: Christian Benvenuti <[email protected]> > > CC: [email protected] > CC: [email protected] > CC: [email protected] > Signed-off-by: John Hubbard <[email protected]>
Looks good to me. You can add: Reviewed-by: Jan Kara <[email protected]> Honza -- Jan Kara <[email protected]> SUSE Labs, CR

