Re: [PATCH] tty: Only wakeup the line discipline idle queue whenqueue is active

From: Ivo Sieben
Date: Wed Jan 02 2013 - 10:26:47 EST

Hi Jiri & Alan,

2013/1/2 Alan Cox <alan@xxxxxxxxxxxxxxxxxxx>:
>> Looks good, but I would prefer the layer to provide us with
>> wake_up_if_active...
> Seconded - this is a problem for the wake up logic in the RT tree. Why
> would we ever do anything else ?

I don't understand your responses: do you suggest to implement this
"if active" behavior in:
* A new wake_up function called wake_up_if_active() that is part of
the waitqueue layer?
* Implement this behavior in the existing wake_up() function as part
of the RT patch?

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at