Re: adding to wait queue

David S. Miller (davem@redhat.com)
Mon, 7 Jun 1999 15:11:51 -0700


From: "Raj, Ashok" <ashok.raj@intel.com>
Date: Mon, 7 Jun 1999 14:35:27 -0700

when i add to wait_queue() should i need a spinlock around it in a MP
system? or
would doing a

save_flags(); cli() before doing a add_wait_queue() be sufficient.

The wait queue implementation does it's own SMP locking, you need not
know about it.

Later,
David S. Miller
davem@redhat.com

-
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/