Re: [PATCH 0/23] File descriptor hot-unplug support v2

From: Linus Torvalds
Date: Mon Jun 08 2009 - 14:04:32 EST




On Mon, 8 Jun 2009, Al Viro wrote:
>
> Welcome to reality...
>
> * bread() is non-interruptible
> * so's copy_from_user()/copy_to_user()
> * IO we are stuck upon _might_ be interruptible, but by sending a signal
> to some other process

We can probably improve on these, though.

Like the copy_to/from_user thing. We might well be able to do that whole
"if it's a fatal signal, return early" thing.

So in the _general_ case - no, we probably can't fix things. But we could
likely at least improve in some common cases if we cared.

Linus
--
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/