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]