Re: IPC between application and xserver is causing extra contextswitches

From: Peter Zijlstra
Date: Fri Sep 03 2010 - 03:31:21 EST


On Fri, 2010-09-03 at 10:17 +0300, Pauli Nieminen wrote:
> Scheduling at write is wrong because xserver doesn't know about client
> priorities.

Waking up the client at write is correct because you don't know if there
is more to be written.

Really, your assumptions about when things schedule is wrong.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/