Re: GHM talk

2011-08-26 Thread Samuel Thibault
Hello, The GNU/Hurd talk at the GNU Hackers Meeting went very well, we got positive reaction suggestions. I guess the video will be available sometime on the GHM website. Samuel

Re: GHM talk

2011-08-26 Thread Samuel Thibault
Samuel Thibault, le Fri 26 Aug 2011 12:12:03 +0200, a écrit : The GNU/Hurd talk at the GNU Hackers Meeting went very well, we got positive reaction suggestions. (even when I screwed up my ftpfs+isofs demo :) ) Samuel

Re: GHM talk

2011-08-26 Thread Svante Signell
On Fri, 2011-08-26 at 12:12 +0200, Samuel Thibault wrote: Hello, The GNU/Hurd talk at the GNU Hackers Meeting went very well, we got positive reaction suggestions. I guess the video will be available sometime on the GHM website. Congrats, any new people becoming involved? Looking forward

Re: GHM talk

2011-08-26 Thread Samuel Thibault
Svante Signell, le Fri 26 Aug 2011 12:35:53 +0200, a écrit : Congrats, any new people becoming involved? Nobody expressed it explicitly, we'll see in the coming days/weeks. The presence of the video on the web may also help later. Samuel

Re: user-level drivers

2011-08-26 Thread olafBuddenhagen
Hi, On Tue, Aug 23, 2011 at 03:22:06AM +0200, Samuel Thibault wrote: What about using the I/O port scheme? That is, decide_intr_notify doesn't enable IRQ notifications, but instead just returns a handle (compare i386_io_perm_create) that is then passed to device_irq_enable to

[PATCH 3/4] Add a monotonic time variable

2011-08-26 Thread Pino Toscano
* kern/mach_clock.c (monotonic, mmonotonic): New variables. (clock_interrupt): Call `time_value_add_usec' also on `monotonic', and `update_mapped_time' also for `mmonotonic'. (mapable_time_init): Call `mapable_time_init_time' also `monotonic' and `mmonotonic'. --- kern/mach_clock.c |6 ++

[PATCH 0/4] Monotonic clock device in GNU Mach

2011-08-26 Thread Pino Toscano
Hi, after Samuel's hint about mapped time, I've been able to add a new clock in GNU Mach, only updated on clock interrupts. Also, this clock is exposed like as device like the time one. Pino Toscano (4): Make update_mapped_time() take also the mapped time variable Make `mapable_time_init'

[PATCH 1/4] Make update_mapped_time() take also the mapped time variable

2011-08-26 Thread Pino Toscano
* kern/mach_clock.c (update_mapped_time): Add a second parameter for the mapped time variable, instead of harcoding it to `mtime'. --- kern/mach_clock.c | 16 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/kern/mach_clock.c b/kern/mach_clock.c index

[PATCH 2/4] Make `mapable_time_init' parametric

2011-08-26 Thread Pino Toscano
* kern/mach_clock.c (mapable_time_init_time): New function doing the job previously done by `mapable_time_init', taking the time variables and the string for the job. (mapable_time_init): Call `mapable_time_init_time' for `time' and `mtime'. --- kern/mach_clock.c | 17 + 1 files

[PATCH 4/4] Add a monotonic time device

2011-08-26 Thread Pino Toscano
* i386/i386at/conf.c (dev_name_list): Add a new `monotonic' device. * i386/i386at/model_dep.c (monotonicmmap): New function to map `mmonotonic'. --- i386/i386at/conf.c |8 i386/i386at/model_dep.c | 15 +++ 2 files changed, 23 insertions(+), 0 deletions(-) diff

Re: [PATCH 01/17] Add a .gitignore file

2011-08-26 Thread Samuel Thibault
Guillem Jover, le Thu 25 Aug 2011 15:22:24 +0200, a écrit : * .gitignore: New file. Applied, thanks. Samuel

Re: [PATCH 03/17] Use AC_LANG_SOURCE inside AC_LANG_CONFTEST to fix autoconf warning

2011-08-26 Thread Samuel Thibault
Guillem Jover, le Thu 25 Aug 2011 15:22:26 +0200, a écrit : * configure.ac (AC_LANG_CONFTEST): Wrap the source into a AC_LANG_SOURCE call. Applied, thanks. Samuel

Re: [PATCH 04/17] Disable compiler built-in symbols to avoid namespace clashes

2011-08-26 Thread Samuel Thibault
Guillem Jover, le Thu 25 Aug 2011 15:22:27 +0200, a écrit : * Makefile.am (AM_CFLAGS): Add -fno-builtin. Did you actually get some issue? Not using built-ins disables optimizations over memcpy such. Samuel

Re: [PATCH 05/17] Do not take obsolete and unused bcopy and bzero from libc

2011-08-26 Thread Samuel Thibault
Guillem Jover, le Thu 25 Aug 2011 15:22:28 +0200, a écrit : * Makefile.am (clib_routines): Remove bcopy and bzero. Applied, thanks. Samuel

Re: [PATCH 06/17] Add prototypes for locore functions

2011-08-26 Thread Samuel Thibault
Guillem Jover, le Thu 25 Aug 2011 15:22:29 +0200, a écrit : * i386/i386at/model_dep.c (discover_x86_cpu_type): Move ... * i386/i386/locore.h: ... here. (inst_fetch, cpu_shutdown): New prototypes. * i386/i386at/kd.c: Include i386/locore.h. Applied, thanks. Samuel

Re: [PATCH 04/17] Disable compiler built-in symbols to avoid namespace clashes

2011-08-26 Thread Samuel Thibault
Guillem Jover, le Thu 25 Aug 2011 15:22:27 +0200, a écrit : * Makefile.am (AM_CFLAGS): Add -fno-builtin. Ah, ok, I see, that was for the log function. I have commited using -fno-builtin-log instead. Samuel

Re: [PATCH 07/17] Add prototype for log function

2011-08-26 Thread Samuel Thibault
Guillem Jover, le Thu 25 Aug 2011 15:22:30 +0200, a écrit : * kern/debug.h (log): New prototype. Applied, thanks. Samuel

Re: [PATCH 08/17] Add prototype for free_skbuffs function

2011-08-26 Thread Samuel Thibault
Guillem Jover, le Thu 25 Aug 2011 15:22:31 +0200, a écrit : * device/ds_routines.c [LINUX_DEV CONFIG_INET] (free_skbuffs): Add prototype. Applied, thanks. Samuel

Re: [PATCH 09/17] Add header for printf prototype

2011-08-26 Thread Samuel Thibault
Guillem Jover, le Thu 25 Aug 2011 15:22:32 +0200, a écrit : * vm/memory_object_proxy.c: Include kern/printf.h. Applied, thanks. Samuel

Re: [PATCH 10/17] Remove ident tags producing preprocessor warnings

2011-08-26 Thread Samuel Thibault
Guillem Jover, le Thu 25 Aug 2011 15:22:33 +0200, a écrit : * linux/src/drivers/scsi/FlashPoint.c: Remove #ident tags. Applied, thanks. Samuel

Re: [PATCH 11/17] Remove unused variables

2011-08-26 Thread Samuel Thibault
Guillem Jover, le Thu 25 Aug 2011 15:22:34 +0200, a écrit : * vm/memory_object_proxy.c (memory_object_create_proxy): Remove unused `kr' variable. * linux/dev/glue/block.c (free_buffer): Remove unused `i' variable. (register_blkdev): Remove unused `err' variable. (unregister_blkdev): Likewise.

Re: [PATCH 12/17] Disable unused variables

2011-08-26 Thread Samuel Thibault
Guillem Jover, le Thu 25 Aug 2011 15:22:35 +0200, a écrit : * i386/i386at/com.c (comstart): Disable `i' variable. * linux/src/drivers/net/at1700.c (net_close): Disable `lp' variable. * linux/dev/include/linux/blk.h (end_request): Disable `nsect' variable on MACH. Applied, thanks. Samuel

Re: [PATCH 15/17] Move cdrom_sleep() definition where it belongs

2011-08-26 Thread Samuel Thibault
Guillem Jover, le Thu 25 Aug 2011 15:22:38 +0200, a écrit : * linux/dev/kernel/sched.c (cdrom_sleep): Move to ... * linux/src/drivers/block/ide-cd.c: ... here, replace [!MACH] definition, and remove conditionals. I disagree. void -cdrom_sleep (int t) -{ - int xxx; - - assert_wait

Re: [PATCH 16/17] Always initialize A and X variables in BPF code

2011-08-26 Thread Samuel Thibault
Guillem Jover, le Thu 25 Aug 2011 15:22:39 +0200, a écrit : * device/net_io.c (bpf_do_filter): Remove lint conditional. Applied, thanks. Samuel

Re: [PATCH 13/17] Match signedness of char pointer comparisons and assignments

2011-08-26 Thread Samuel Thibault
Guillem Jover, le Thu 25 Aug 2011 15:22:36 +0200, a écrit : * linux/dev/drivers/block/genhd.c (msdos_partition): Cast `data' assignment to `unsigned char *'. * linux/src/drivers/block/ide-cd.c (cdrom_queue_request_sense): Cast `buffer' assignment to `unsigned char *'.

Re: [PATCH 14/17] Fix initialization from incompatible pointer type

2011-08-26 Thread Samuel Thibault
Guillem Jover, le Thu 25 Aug 2011 15:22:37 +0200, a écrit : * linux/dev/glue/block.c (device_get_status): Cast `hg' to `unsigned long' in ioctl call. Applied, thanks. Samuel

Re: [PATCH 17/17] Initialize the new map entry when it's a projected buffer

2011-08-26 Thread Samuel Thibault
Guillem Jover, le Thu 25 Aug 2011 15:22:40 +0200, a écrit : * vm/vm_map.c (vm_map_fork): Call vm_map_entry_create for projected_on buffers too. Applied, thanks. Samuel

Re: Build improvements and warning fixes

2011-08-26 Thread Samuel Thibault
Guillem Jover, le Thu 25 Aug 2011 15:22:23 +0200, a écrit : [PATCH 17/17] Initialize the new map entry when it's a projected This one seems correct at first sight, but I'm actually surprised this has not caused many failures in the past... We never fork tasks. The exec server recreates the

Re: [PATCH] Code clean up - removed some warnings

2011-08-26 Thread Samuel Thibault
Hello, Fridolín Pokorný, le Wed 24 Aug 2011 12:27:46 +0200, a écrit : diff -Naur a/vm/memory_object_proxy.h b/vm/memory_object_proxy.h --- a/vm/memory_object_proxy.h1970-01-01 01:00:00.0 +0100 +++ b/vm/memory_object_proxy.h2011-08-24 08:48:03.0 +0200 @@ -0,0

Re: [PATCH 4/4] Add a monotonic time device

2011-08-26 Thread Samuel Thibault
Pino Toscano, le Fri 26 Aug 2011 20:29:43 +0200, a écrit : +extern vm_offset_t monotonicmmap(); +#define monotonicname monotonic Ah, I was rather thinking about appending the new clock to the existing mappable clock. I don't think it is useful to separate them. Samuel