Re: [PATCH 10/11] UAPI: ndctl: Remove use of PAGE_SIZE [ver #2]

From
Dan Williams <hidden>
Date
2018-09-25 20:18:09
Also in
linux-kbuild, lkml, nvdimm
Reply to
David Howells, 2018-09-06
On Thu, Sep 6, 2018 at 2:19 AM David Howells [off-list ref] 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 <redacted>
cc: Dan Williams <redacted>
Acked-by: Dan Williams <redacted>

Let me know if you want me to pick this up for 4.20.
Thread (22 messages) 22 messages, 6 authors, last reply 2018-10-09
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help