From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Williams Subject: Re: [PATCH 10/11] UAPI: ndctl: Remove use of PAGE_SIZE [ver #2] Date: Tue, 25 Sep 2018 13:17:54 -0700 Message-ID: References: <153622549721.14298.8116794954073122489.stgit@warthog.procyon.org.uk> <153622557095.14298.10281337300003012767.stgit@warthog.procyon.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <153622557095.14298.10281337300003012767.stgit-S6HVgzuS8uM4Awkfq6JHfwNdhmdF6hFW@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-nvdimm-bounces-hn68Rpc1hR1g9hUCZPvPmw@public.gmane.org Sender: "Linux-nvdimm" To: David Howells Cc: Linux API , linux-nvdimm , Linux Kernel Mailing List , linux-kbuild-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-api@vger.kernel.org On Thu, Sep 6, 2018 at 2:19 AM David Howells wrote: > > The macro PAGE_SIZE isn't valid outside of the kernel, so it should not > appear in UAPI headers. > > Furthermore, the actual machine page size could theoretically change from > an application's point of view if it's running in a container that gets > migrated to another machine (say 4K/ppc64 to 64K/ppc64). > > Fixes: f2ba5a5baecf ("libnvdimm, namespace: make min namespace size 4K") > Signed-off-by: David Howells > cc: Dan Williams Acked-by: Dan Williams Let me know if you want me to pick this up for 4.20.