Robert Watson 1a8cfbc450 Pass a thread argument into cpu_critical_{enter,exit}() rather than
dereference curthread.  It is called only from critical_{enter,exit}(),
which already dereferences curthread.  This doesn't seem to affect SMP
performance in my benchmarks, but improves MySQL transaction throughput
by about 1% on UP on my Xeon.

Head nodding:	jhb, bmilekic
2004-07-27 16:41:01 +00:00
..
2003-08-04 05:13:18 +00:00
2002-12-18 18:52:20 +00:00
2004-07-10 22:59:30 +00:00
2004-07-19 05:39:49 +00:00
2003-12-10 22:59:03 +00:00
2004-04-18 07:11:12 +00:00
2004-07-10 22:59:30 +00:00