Skip to contentSkip to conversation

remap_file_pages() + MAP_PRIVATE?

DISCUSSION Michael Kerrisk 1 participant 1 message Apr 28, 2004

lore
Share & tools
lore
#0 lore raw

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