Re: [PATCH] mm: gup: Re-define follow_page_mask output parameter page_mask usage

2016-07-16 Thread Chen Gang
On 7/13/16 15:50, Michal Hocko wrote: > On Wed 13-07-16 01:03:10, Chen Gang wrote: >> On 7/12/16 05:17, Andrew Morton wrote: >>> On Sun, 10 Jul 2016 01:17:05 +0800 cheng...@emindsoft.com.cn wrote: >>> For a pure output parameter: - When callee fails, the caller should not assume th

Re: [PATCH] mm: gup: Re-define follow_page_mask output parameter page_mask usage

2016-07-13 Thread Michal Hocko
On Wed 13-07-16 01:03:10, Chen Gang wrote: > On 7/12/16 05:17, Andrew Morton wrote: > > On Sun, 10 Jul 2016 01:17:05 +0800 cheng...@emindsoft.com.cn wrote: > > > >> For a pure output parameter: > >> > >> - When callee fails, the caller should not assume the output parameter > >>is still valid

Re: [PATCH] mm: gup: Re-define follow_page_mask output parameter page_mask usage

2016-07-12 Thread Chen Gang
On 7/12/16 05:17, Andrew Morton wrote: > On Sun, 10 Jul 2016 01:17:05 +0800 cheng...@emindsoft.com.cn wrote: > >> For a pure output parameter: >> >> - When callee fails, the caller should not assume the output parameter >>is still valid. >> >> - And callee should not assume the pure output p

Re: [PATCH] mm: gup: Re-define follow_page_mask output parameter page_mask usage

2016-07-11 Thread Andrew Morton
On Sun, 10 Jul 2016 01:17:05 +0800 cheng...@emindsoft.com.cn wrote: > For a pure output parameter: > > - When callee fails, the caller should not assume the output parameter >is still valid. > > - And callee should not assume the pure output parameter must be >provided by caller -- cal