> > MAP_HASSEMAPHORE is used in rthread_sem.c, but it doesn't do anything,
> > so I suspect it's just cargo culting based on man page misinformation?
> > Are there architectures that actually have restrictions on semaphore
> > memory?
> 
> There architectures where atomic instructions only work on pages with
> certain caching attributes.  Those attributes tend to be the default
> attributes though, so there is not much value in retaining this flag.

Whether such architectures exist and want to do atomic handling is one
thing.  The real question is if any applications set the flag.

Looks like no.

Reply via email to