Linux-kernel mailing list archive 1999-23,: adding to wait queue

# adding to wait queue

Raj, Ashok (ashok.raj@intel.com)
Mon, 7 Jun 1999 14:35:27 -0700

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Roger Gammans: "Re: RFC: Devices, buses and hotplug"
- Previous message: Andrea Arcangeli: "Re: [patch] fix for SMP stuck on IPI-TLB-flush [Re: 2.2.9-ac2 locks"
- Next in thread: David S. Miller: "Re: adding to wait queue"
- Reply: David S. Miller: "Re: adding to wait queue"

Have a silly question.

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.

Cheers,
ashokr

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

- Next message: Roger Gammans: "Re: RFC: Devices, buses and hotplug"
- Previous message: Andrea Arcangeli: "Re: [patch] fix for SMP stuck on IPI-TLB-flush [Re: 2.2.9-ac2 locks"
- Next in thread: David S. Miller: "Re: adding to wait queue"
- Reply: David S. Miller: "Re: adding to wait queue"