[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20160711141702.fb1879707aa2bcb290133a43@linux-foundation.org>
Date: Mon, 11 Jul 2016 14:17:02 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: chengang@...ndsoft.com.cn
Cc: vbabka@...e.cz, mhocko@...e.com, kirill.shutemov@...ux.intel.com,
mingo@...nel.org, dave.hansen@...ux.intel.com,
dan.j.williams@...el.com, hannes@...xchg.org, jack@...e.cz,
iamjoonsoo.kim@....com, jmarchan@...hat.com,
dingel@...ux.vnet.ibm.com, oleg@...hat.com, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, Chen Gang <gang.chen.5i5j@...il.com>
Subject: Re: [PATCH] mm: gup: Re-define follow_page_mask output parameter
page_mask usage
On Sun, 10 Jul 2016 01:17:05 +0800 chengang@...ndsoft.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 -- caller has right to pass NULL when caller does
> not care about it.
Sorry, I don't think this one is worth merging really.
Powered by blists - more mailing lists