fcntl and flock wakeups not FIFO?

Chris Friesen (cfriesen@nortelnetworks.com)
Mon, 17 Feb 2003 14:11:18 -0500


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

-- 
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: cfriesen@nortelnetworks.com

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