Solaris mmap man page states that the system adds two 8K 'red zone'
pages to each mapping and then rounds the total mapping to some
multiple.

Because of the above, applications that need to mmap power of 2
memory segments will end up wasting large amounts of virtual address
space.

This design seems to be a bit of an oversight, i.e. mapping red zone
pages should be an option when calling mmap, because not all
applications need it.

Is there a way to force mmap not to map red zone pages? A system
tunable?
_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to