At 04:16 PM 1/13/2003 Monday, Ragnar Paulson wrote:

----- Original Message -----

Fair enough. My gut instinct is to cut and paste the M_FLUSH code from lis_process_rput() into lis_strrput() but there could be ramifications with the locks and sempahores that I'm not aware of. We're under a bit of workload right now as well but if we try this I'll post the code diffs and results back to the list.
The problem is that getpmsg (and maybe read) "peeks" at the message at the head of the queue and then later decides whether or not to remove it. The queue could be flushed in the interim.

strrput must be considered as entered (potentially) at interrupt time, so it can't get non-irq spinlocks.

All this adds up to something that it will take some thought to fix.

-- Dave


_______________________________________________
Linux-streams mailing list
[EMAIL PROTECTED]
http://gsyc.escet.urjc.es/mailman/listinfo/linux-streams


Reply via email to