CMPXCHG

Scott Huang (SHuang@narus.com)
Wed, 16 May 2001 15:37:00 -0700


Four adapters need to produce data to a
descriptor queue which is consumed by a
user process. A lock mechanism was implemented
to sync the adapters. However, this causes
a performance hit. Is it possible to use
CMPXCHG on Intel's i-386 to avoid the locking?
Where can I find some doc and some sample code?

Thx

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