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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux