Date: Sat, 9 Jan 2010 06:12:44 +0000 (UTC) From: David Xu <davidxu@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r201886 - head/sys/kern Message-ID: <201001090612.o096CiZG015551@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: davidxu Date: Sat Jan 9 06:12:44 2010 New Revision: 201886 URL: http://svn.freebsd.org/changeset/base/201886 Log: put semaphore waiter in long term list. Modified: head/sys/kern/kern_umtx.c Modified: head/sys/kern/kern_umtx.c ============================================================================== --- head/sys/kern/kern_umtx.c Sat Jan 9 06:05:31 2010 (r201885) +++ head/sys/kern/kern_umtx.c Sat Jan 9 06:12:44 2010 (r201886) @@ -292,7 +292,7 @@ umtx_key_match(const struct umtx_key *k1 static inline struct umtxq_chain * umtxq_getchain(struct umtx_key *key) { - if (key->type <= TYPE_CV) + if (key->type <= TYPE_SEM) return (&umtxq_chains[1][key->hash]); return (&umtxq_chains[0][key->hash]); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001090612.o096CiZG015551>