Re: linux-next: add utrace tree

From: Linus Torvalds
Date: Thu Jan 28 2010 - 19:24:00 EST




On Fri, 29 Jan 2010, Benjamin Herrenschmidt wrote:
>
> like returning a fd to poll() on ? :-)

Well, there's the possibility of async polling (rather than the
synchronous wait that ptrace forces now), but there are other advantages
to having a "connection" model - like not having to look up the child
process every time like ptrace does now.

Although 'find_task_by_vpid()' is probably cheap enough that nobody really
cares. We do a fair job at those hash tables.

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/