Skip to contentSkip to conversation

msync & MS_INVALIDATE question

DISCUSSION Eric W. Biederman 1 participant 1 message Apr 26, 1998 Memory management

lore
Share & tools
lore
#0 lore raw

The man page I have for msync(MS_INVALIDATE) says it should invalidate all other mappings. I.e. get all other mappings.

The implementation does something quite different, that is related to only the present mapping.

Was this a pure documentation bug. Was MS_INVALIDATE not implemented correctly because of no reverse maps? Or is something else going on here?

I know in the context of MAP_SHARED invalidating other mappings seems like a reasonable proposition.

Eric