2.3.30 patch

George (greerga@nidhogg.ham.muohio.edu)
Mon, 6 Dec 1999 23:16:51 -0500 (EST)


from spinlock.h section.

+/*
+ * Sadly, some early PPro chips require the locked access,
+ * otherwise we could just always simply do
+ *
+ * #define spin_unlock_string \
+ * "movb $0,%0"
+ *
+ * Which is noticeably faster.
+ */

If it's that noticeable, how about a CONFIG option for those of us with
non-broken machines? Distributions keep it as lock;btrl, those making
custom use the faster.

-George Greer

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