Re: [PATCH] Split futex global spinlock futex_lock

From: Ulrich Drepper
Date: Wed Sep 10 2003 - 04:38:54 EST


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I've run some tests on a 4p P4 HT machine. Some heavy futex using
benchmark code runs about 6% faster with the patch. So, despite the
reduced time the futex lock is actually taken after Jamie's patch the
separate locks still add benefits.

Plus, currently we do not allocate locks so that the futexes fall in
different buckets. To some extend this is possible and would be a
possible optimization if this patch goes in.

- --
- --------------. ,-. 444 Castro Street
Ulrich Drepper \ ,-----------------' \ Mountain View, CA 94041 USA
Red Hat `--' drepper at redhat.com `---------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/XvC62ijCOnn/RHQRApUsAJ0RB/WsVZTgC31yIbAFL4KdMi8UcgCeI+Gv
uAVQQReC9Tl1g8HogsReVdA=
=vRBt
-----END PGP SIGNATURE-----

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/