On Tue, Aug 30, 2005 at 17:50:27 +0530, Gaurav Dhiman wrote: > On 8/30/05, Jan Hudec <bulb@xxxxxx> wrote: > (actually, there is at least one point where preempt is _worse_ than SMP -- > > ordering of set_current_state, waitqueue_add and schedule() worked on SMP, > > but it does NOT work on preempt). > > Can you elaborate on this more, I could not get the meaning of it. Compare the wait_event macro in 2.4 and in 2.6. From plain trivial in 2.4, it changed to quite complex beast in 2.6, because of preempt. And IIRC there were some places where similar tricks to wait_even were used in 2.4, which is not so easy now. -- Jan 'Bulb' Hudec <bulb@xxxxxx>
Attachment:
signature.asc
Description: Digital signature