Skip to contentSkip to conversation

fcntl and flock wakeups not FIFO?

DISCUSSION Chris Friesen 1 participant 1 message Feb 17, 2003

lore
Share & tools
lore
#0 lore raw

I've been doing some experimenting with locking on 2.4.18 and have noticed that if I have a number of writers waiting on a lock, they are not woken up in the order in which they requested the lock.

Is this expected? If so, what was the reasoning for this and are there any patches to give FIFO wakeups?

Thanks,

Chris

Signature · 4 lines
Chris Friesen                    | MailStop: 043/33/F10
Nortel Networks                  | work: (613) 765-0557
3500 Carling Avenue              | fax:  (613) 765-2986
Nepean, ON K2H 8E9 Canada        | email: [email protected]