Date: Mon, 22 Nov 2010 08:21:58 +0000 (UTC) From: Alexander Leidinger <netchild@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/compat/linux linux_futex.c linux_futex.h Message-ID: <201011220822.oAM8MPVo085573@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
netchild 2010-11-22 08:21:58 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/compat/linux linux_futex.c linux_futex.h Log: SVN rev 215661 on 2010-11-22 08:21:58Z by netchild MFC r215338: - print out the PID and program name of the program trying to use an unsupported futex operation - for those futex operations which are known to be not supported, print out which futex operation it is - shortcut the error return of the unsupported FUTEX_CLOCK_REALTIME in some cases: FUTEX_CLOCK_REALTIME can be used to tell linux to use CLOCK_REALTIME instead of CLOCK_MONOTONIC. FUTEX_CLOCK_REALTIME however must only be set, if either FUTEX_WAIT_BITSET or FUTEX_WAIT_REQUEUE_PI are set too. If that's not the case we can die with ENOSYS right at the beginning. Submitted by: arundel Reviewed by: rdivacky (earlier iteration of the patch) MFC after: 1 week Revision Changes Path 1.23.2.3 +42 -6 src/sys/compat/linux/linux_futex.c 1.7.2.2 +12 -9 src/sys/compat/linux/linux_futex.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011220822.oAM8MPVo085573>