Date: Sun, 26 Nov 2006 11:34:58 GMT From: Alexander Leidinger <netchild@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 110541 for review Message-ID: <200611261134.kAQBYweG000143@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=110541 Change 110541 by netchild@netchild_magellan on 2006/11/26 11:34:28 Sync with rev 1.7 in NetBSD. Obtained from: NetBSD Affected files ... .. //depot/projects/linuxolator/src/sys/compat/linux/linux_futex.c#8 edit Differences ... ==== //depot/projects/linuxolator/src/sys/compat/linux/linux_futex.c#8 (text+ko) ==== @@ -1,4 +1,4 @@ -/* $NetBSD: linux_futex.c,v 1.5 2005/11/23 16:14:57 manu Exp $ */ +/* $NetBSD: linux_futex.c,v 1.7 2006/07/24 19:01:49 manu Exp $ */ /*- * Copyright (c) 2005 Emmanuel Dreyfus, all rights reserved. @@ -34,7 +34,7 @@ #include <sys/cdefs.h> __FBSDID("$FreeBSD: src/sys/compat/linux/linux_futex.c,v 1.6 2006/09/09 16:25:25 netchild Exp $"); #if 0 -__KERNEL_RCSID(1, "$NetBSD: linux_futex.c,v 1.5 2005/11/23 16:14:57 manu Exp $"); +__KERNEL_RCSID(1, "$NetBSD: linux_futex.c,v 1.7 2006/07/24 19:01:49 manu Exp $"); #endif #include "opt_compat.h" @@ -386,6 +386,11 @@ timeout); #endif ret = tsleep(wp, PCATCH | PZERO, "linuxfutex", timeout); +#ifdef DEBUG + if (ldebug(sys_futex)) + printf("FUTEX -> %d tsleep returns %d\n", + td->td_proc->p_pid, ret); +#endif FUTEX_LOCK; TAILQ_REMOVE(&f->f_waiting_proc, wp, wp_list);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611261134.kAQBYweG000143>