Re: [patch 00/11] ANNOUNCE: "Syslets", generic asynchronous systemcall support

From: Davide Libenzi
Date: Tue Feb 13 2007 - 23:49:43 EST


On Tue, 13 Feb 2007, Davide Libenzi wrote:

[...]

> So the sys_async_exec task is going to block. Now, am I being really
> tired, or the cachemiss fast return is simply not there?

The former 8)

pick_new_async_head()
new_task->ah = ah;

cachemiss_loop()
for (;;) {
if (unlikely(t->ah || ...))
break;


> There's another problem AFAICS:
>
> - We woke up one of the cachemiss_loop threads in pick_new_async_thread
>
> - The threads wakes up, mark itself as busy, and look at the ->work
> pointer hoping to find something to work on
>
> But we never set that pointer to a userspace atom AFAICS. Me blind? :)

I still don't see at->work ever set to a valid userspace atom though...



- Davide


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