summaryrefslogtreecommitdiffstats
path: root/sys/compat/linux/linux_futex.h
Commit message (Collapse)AuthorAgeFilesLines
* Move extern variable definitions to the header file.dchagin2009-05-021-0/+3
| | | | | Approved by: kib (mentor) MFC after: 1 month
* Ignore FUTEX_FD op, as it is done by linux.dchagin2009-03-151-1/+1
| | | | | Approved by: kib (mentor) MFC after: 2 weeks
* Make robust futexes work on linux32/amd64. Use PTRIN to readkib2008-10-141-12/+0
| | | | | | | | user-mode pointers. Change types used in the structures definitions to properly-sized architecture-specific types. Submitted by: dchagin MFC after: 1 week
* Implement robust futexes. Most of the code is modelled afterrdivacky2008-05-131-0/+18
| | | | | | | | | | | what Linux does. This is because robust futexes are mostly userspace thing which we cannot alter. Two syscalls maintain pointer to userspace list and when process exits a routine walks this list waking up processes sleeping on futexes from that list. Reviewed by: kib (mentor) MFC after: 1 month
* o Add stub support for some new futex operations,rdivacky2008-03-201-0/+5
| | | | | | | | | | | | | | | | | so the annoying message is not printed. o Don't warn about FUTEX_FD not being implemented and return ENOSYS instead of 0 (eg. success). o Clear FUTEX_PRIVATE_FLAG as we actually implement only private futexes so there is no reason to return ENOSYS when app asks for a private futex. We don't reject shared futexes because they worked just fine with our implementation so far. Approved by: kib (mentor) Tested by: bsam MFC after: 1 week
* MFp4 (110523, parts which apply cleanly):netchild2007-02-251-19/+19
| | | | | | | | | semi-automatic style(9) The futex stuff already differs a lot (only a small part does not differ) from NetBSD, so we are already way off and can't apply changes from NetBSD automatically. As we need to merge everything by hand already, we can even make the files comply to our world order.
* Add some new files needed for linux 2.6.x compatibility.netchild2006-08-151-0/+61
Please don't style(9) the NetBSD code, we want to stay in sync. Not imported on a vendor branch since we need local changes. Sponsored by: Google SoC 2006 Submitted by: rdivacky With help from: manu@NetBSD.org Obtained from: NetBSD (linux_{futex,time}.*)
OpenPOWER on IntegriCloud