Re: [uml-devel] [PATCH] Syslets - Fix cachemiss_thread return value

2007-05-31 Thread Zach Brown
> the demos I sent out. Dunno about the existing ones, but I bet they do > the same. Hmm, they didn't when I ran them, but I'll give yours a try and take a closer look. Thanks for taking the time to bring it up. - z - This

Re: [uml-devel] [PATCH 1/3] syslet demos - add more includes

2007-05-31 Thread Zach Brown
> Add a bunch of includes to sys.h and syslet.h to kill off compilation > warnings. This, and the patches which add tests, all look great to me. Ingo, are you patching up your tests or do you want me to take care of these? - z ---

Re: [uml-devel] [PATCH] Syslets - Fix cachemiss_thread return value

2007-05-31 Thread Zach Brown
> cachemiss_thread should explicitly return 0 or error instead of > task_ret_reg(current) (which is -ENOSYS anyway) because > async_thread_helper is careful to put the return value in eax anyway. Can you explain what motivated you to send out this patch? It used to return 0. It was changed becau

Re: [uml-devel] [PATCH] Syslets - Fix cachemiss_thread return value

2007-05-31 Thread Jeff Dike
On Thu, May 31, 2007 at 03:07:16PM -0700, Zach Brown wrote: > Can you explain what motivated you to send out this patch? > > It used to return 0. It was changed because, unlike the syslet > syscalls, sys_io_submit() doesn't have a simple 0 value to indicate > success. The current implementation

Re: [uml-devel] [PATCH] Syslets - Fix cachemiss_thread return value

2007-05-31 Thread Ingo Molnar
* Jeff Dike <[EMAIL PROTECTED]> wrote: > cachemiss_thread should explicitly return 0 or error instead of > task_ret_reg(current) (which is -ENOSYS anyway) because > async_thread_helper is careful to put the return value in eax anyway. oops, indeed! Thanks. Ingo --

[uml-devel] [PATCH] Syslets - Fix cachemiss_thread return value

2007-05-31 Thread Jeff Dike
cachemiss_thread should explicitly return 0 or error instead of task_ret_reg(current) (which is -ENOSYS anyway) because async_thread_helper is careful to put the return value in eax anyway. On x86_64, it looks like async_child_rip is similarly careful. Signed-off-by: Jeff Dike <[EMAIL PROTECTED]>

[uml-devel] [PATCH 2/3] syslet demos - AIO file reading

2007-05-31 Thread Jeff Dike
aio-read uses the async_exec mechanism to queue reads of pages of a file. As completions come in, new reads are queued until all pages in the file have requests queued or finished. When that has happened, it just waits for the remaining completions to come in. Signed-off-by: Jeff Dike <[EMAIL PR

[uml-devel] [PATCH 3/3] syslet demos - collecting timer expirations and child status

2007-05-31 Thread Jeff Dike
wait-sleep uses the async_exec mechanism to collect timer expirations and child process wait status. It randomly fires off a number of sleeps and forks, waiting for them to finish, and firing off something new to replace anything that finishes. Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> -- Mak

[uml-devel] [PATCH 1/3] syslet demos - add more includes

2007-05-31 Thread Jeff Dike
Add a bunch of includes to sys.h and syslet.h to kill off compilation warnings. Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> -- sys.h|7 +++ syslet.h |2 ++ 2 files changed, 9 insertions(+) Index: async-test-v5/sys.h ===

[uml-devel] Workshop Virtualisierung 2007 im Linuxhotel

2007-05-31 Thread Henning Sprang
(English Speakers, please see below) Hallo, wie schon 2006 findet auch in diesem Jahr wieder ein Workshop zum Thema Virtualisierung statt im Linuxhotel in Essen statt. Details und Informationen, wie Ihr Euch anmelden könnt findet Ihr unter https://wiki.villa-vogelsang.de/doku.php?id=virtualisierun