On Mon, 20 Feb 2017, Michal Hocko wrote:
I am not sure I understand.
$ git grep SHM_HUGE_ include/uapi/
$
So there doesn't seem to be any user visible constant. The man page
mentiones is but I do not really see how is the userspace supposed to
use it.
Yeah, userspace is not supposed to use it, it's just there because
the manpage describes kernel internals. I'm not really a big fan
of touching manpages (and ipc is already full of corner cases),
but I guess nobody can really complain if we rip out all the
SHM_HUGE_ stuff.
Thanks,
Davidlohr