Re: [PATCH] fix __pollwait()

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Sun Apr 16 2000 - 13:19:42 EST


> I've attached an _untested_ patch for 2.3:
>
> * kmalloc() if we run out of table space. I also set current->state to
> TASK_RUNNING, I don't know if this is required.
> * add an error field to the poll table. poll_wait() has no return value,
> and I won't change all callers.

This seems a good approach for the short term. I'm just finishing testing
a 2.2.15pre19 with all the naughty drivers I can find fixed the obvious way
by adding a poll_wait queue. That keeps the 2.2. fix 'obviously correct' albeit
obviously ugly 8)

Alan

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



This archive was generated by hypermail 2b29 : Sun Apr 23 2000 - 21:00:09 EST