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