#
6af82123 |
| 20-Mar-2008 |
Roman Divacky <rdivacky@FreeBSD.org> |
o Add stub support for some new futex operations, 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 Cle
o Add stub support for some new futex operations, 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
show more ...
|
Revision tags: release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0 |
|
#
f9dac961 |
| 25-Feb-2007 |
Alexander Leidinger <netchild@FreeBSD.org> |
MFp4 (110523, parts which apply cleanly): 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 ch
MFp4 (110523, parts which apply cleanly): 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.
show more ...
|
Revision tags: release/6.2.0_cvs, release/6.2.0 |
|
#
ad2056f2 |
| 15-Aug-2006 |
Alexander Leidinger <netchild@FreeBSD.org> |
Add some new files needed for linux 2.6.x compatibility.
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: G
Add some new files needed for linux 2.6.x compatibility.
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}.*)
show more ...
|
#
e7153b25 |
| 07-May-2009 |
Oleksandr Tymoshenko <gonzo@FreeBSD.org> |
Merge from HEAD
|
#
d789bfd5 |
| 02-May-2009 |
Dmitry Chagin <dchagin@FreeBSD.org> |
Move extern variable definitions to the header file.
Approved by: kib (mentor) MFC after: 1 month
|
Revision tags: release/7.2.0_cvs, release/7.2.0 |
|
#
9c797940 |
| 13-Apr-2009 |
Oleksandr Tymoshenko <gonzo@FreeBSD.org> |
- Merge from HEAD
|
#
b41a7787 |
| 15-Mar-2009 |
Dmitry Chagin <dchagin@FreeBSD.org> |
Ignore FUTEX_FD op, as it is done by linux.
Approved by: kib (mentor) MFC after: 2 weeks
|
Revision tags: release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0 |
|
#
175c6c31 |
| 14-Oct-2008 |
Konstantin Belousov <kib@FreeBSD.org> |
Make robust futexes work on linux32/amd64. Use PTRIN to read user-mode pointers. Change types used in the structures definitions to properly-sized architecture-specific types.
Submitted by: dchagin
Make robust futexes work on linux32/amd64. Use PTRIN to read user-mode pointers. Change types used in the structures definitions to properly-sized architecture-specific types.
Submitted by: dchagin MFC after: 1 week
show more ...
|
#
4732e446 |
| 13-May-2008 |
Roman Divacky <rdivacky@FreeBSD.org> |
Implement robust futexes. Most of the code is modelled after what Linux does. This is because robust futexes are mostly userspace thing which we cannot alter. Two syscalls maintain pointer to userspa
Implement robust futexes. Most of the code is modelled after 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
show more ...
|
#
6af82123 |
| 20-Mar-2008 |
Roman Divacky <rdivacky@FreeBSD.org> |
o Add stub support for some new futex operations, 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 Cle
o Add stub support for some new futex operations, 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
show more ...
|
Revision tags: release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0 |
|
#
f9dac961 |
| 25-Feb-2007 |
Alexander Leidinger <netchild@FreeBSD.org> |
MFp4 (110523, parts which apply cleanly): 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 ch
MFp4 (110523, parts which apply cleanly): 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.
show more ...
|
Revision tags: release/6.2.0_cvs, release/6.2.0 |
|
#
ad2056f2 |
| 15-Aug-2006 |
Alexander Leidinger <netchild@FreeBSD.org> |
Add some new files needed for linux 2.6.x compatibility.
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: G
Add some new files needed for linux 2.6.x compatibility.
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}.*)
show more ...
|