From owner-cvs-src-old@FreeBSD.ORG Mon Nov 22 08:22:25 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 45F111065696 for ; Mon, 22 Nov 2010 08:22:25 +0000 (UTC) (envelope-from netchild@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 32C268FC22 for ; Mon, 22 Nov 2010 08:22:25 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id oAM8MPbp085574 for ; Mon, 22 Nov 2010 08:22:25 GMT (envelope-from netchild@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id oAM8MPVo085573 for cvs-src-old@freebsd.org; Mon, 22 Nov 2010 08:22:25 GMT (envelope-from netchild@repoman.freebsd.org) Message-Id: <201011220822.oAM8MPVo085573@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to netchild@repoman.freebsd.org using -f From: Alexander Leidinger Date: Mon, 22 Nov 2010 08:21:58 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 Subject: cvs commit: src/sys/compat/linux linux_futex.c linux_futex.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Nov 2010 08:22:25 -0000 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