2004-04-28 14:51:52

by Michael Kerrisk

[permalink] [raw]
Subject: remap_file_pages() + MAP_PRIVATE?

Gidday,

As currently implemented, the mapping given to remap_file_pages() must be
MAP_SHARED. Is there some reason why the kernel enforces the restriction
that we can't apply this call to MAP_PRIVATE mappings? (I can't see
one...)

Cheers,

Michael