RE: why mprotect(PROT_SEM) ?

"Perez-Gonzalez, Inaky" <[email protected]>
Newsgroups gmane.linux.ngpt.devel
Message-ID <[email protected]>
> In 2.4 the mprotect is necessary to prevent that the page gets evicted
> and paged in at different physical address. The physical address and
> offset is used as a hash for the futex.

This explanation is much more clear. So this means we are actually pinning
the page to a physical address, right? [asides from pinning it into physical
memory so it is not swapped out]

Inaky Perez-Gonzalez -- Not speaking for Intel - opinions are my own [or my
fault]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.