aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/linux/linux_futex.h
Commit message (Collapse)AuthorAgeFilesLines
* Move extern variable definitions to the header file.Dmitry Chagin2009-05-021-0/+3
| | | | | | | | Approved by: kib (mentor) MFC after: 1 month Notes: svn path=/head/; revision=191741
* Ignore FUTEX_FD op, as it is done by linux.Dmitry Chagin2009-03-151-1/+1
| | | | | | | | Approved by: kib (mentor) MFC after: 2 weeks Notes: svn path=/head/; revision=189862
* Make robust futexes work on linux32/amd64. Use PTRIN to readKonstantin Belousov2008-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 Notes: svn path=/head/; revision=183871
* Implement robust futexes. Most of the code is modelled afterRoman Divacky2008-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 Notes: svn path=/head/; revision=178976
* o Add stub support for some new futex operations,Roman Divacky2008-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 Notes: svn path=/head/; revision=177460
* MFp4 (110523, parts which apply cleanly):Alexander Leidinger2007-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. Notes: svn path=/head/; revision=166969
* Add some new files needed for linux 2.6.x compatibility.Alexander Leidinger2006-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}.*) Notes: svn path=/head/; revision=161304