Re: FOSDEM talk?

2014-12-10 Thread Thomas Schwinge
Hi! On Thu, 13 Nov 2014 15:07:11 +0100, Román wrote: > > [Hurd talk in microkernel devroom at FOSDEM 2015] > > I would like a hurd talk about how to contribute. For example, how to fix a > simple bug, create a patch... I mean the steps the developers doing when need > to fix a bug. Or how to p

Re: [PATCH hurd 2/5] libpager: use libports notification functions

2014-12-10 Thread Samuel Thibault
Justus Winter, le Wed 10 Dec 2014 17:21:56 +0100, a écrit : > Now that we do not use sequence numbers anymore, we can simply use > libports notification server functions. > > * libpager/Makefile (SRCS): Drop `no-senders.c', and `notify-stubs.c'. > (OBJS): Drop `notifyServer.o'. > * libpager/demuxe

Re: [PATCH hurd 1/5] libpager: remove the `seqno' parameters

2014-12-10 Thread Samuel Thibault
Justus Winter, le Wed 10 Dec 2014 17:21:55 +0100, a écrit : > * libpager/Makefile (MIGSFLAGS): Drop `-DSEQNOS'. > * libpager/priv.h (struct pager): Drop fields `seqno' and `waitingforseqno'. > * libpager/chg-compl.c: Adopt accordingly. > * libpager/data-request.c: Likewise. > * libpager/data-return

Re: [PATCH hurd 5/5] Replace `bcopy' with `memcpy' or `memmove' as appropriate

2014-12-10 Thread Samuel Thibault
Justus Winter, le Wed 10 Dec 2014 17:21:59 +0100, a écrit : > * ext2fs/inode.c: Replace `bcopy' with `memcpy' or `memmove' as > appropriate. > * ext2fs/pager.c: Likewise. > * isofs/lookup.c: Likewise. > * isofs/main.c: Likewise. > * isofs/rr.c: Likewise. > * libdiskfs/file-get-trans.c: Likewise. >

Re: [PATCH hurd 4/5] Replace `bzero' with `memset'

2014-12-10 Thread Samuel Thibault
Justus Winter, le Wed 10 Dec 2014 17:21:58 +0100, a écrit : > For reference, this patch was created using the following semantic > patch, and then manually applying the change in all functions > containing nested functions, as those are not supported by Coccinelle. Ack.

Re: [PATCH hurd 3/5] ext2fs: tune the size of the inode cache

2014-12-10 Thread Samuel Thibault
Justus Winter, le Wed 10 Dec 2014 17:21:57 +0100, a écrit : > The node cache uses a fixed number of buckets giving it a linear > access complexity, although with a small constant factor. Paper over > this issue by increasing the number of buckets. > > * ext2fs/inode.c (INOHSZ): Increase from 512

Re: [PATCH glibc] Hurd: Fix definition of `PAGE_COPY_THRESHOLD'

2014-12-10 Thread Justus Winter
Quoting Justus Winter (2014-12-10 12:59:43) > Somewhat less synthetic: > > % bash do_pipebench.bash > Piping 1024 MByte from zero to null. > (dd if=zero bs=X count=overall/X | dd of=null bs=X) > 4096 8192 12288 16384 32768 65536 > ‘libc.so.0.3’ -> ‘libc.so.586asm’ > 30.78

[PATCH hurd 4/5] Replace `bzero' with `memset'

2014-12-10 Thread Justus Winter
For reference, this patch was created using the following semantic patch, and then manually applying the change in all functions containing nested functions, as those are not supported by Coccinelle. @@ expression A, B; @@ - bzero (A, B) + memset (A, 0, B) * auth/auth.c: Replace `bzero' with `me

[PATCH hurd 5/5] Replace `bcopy' with `memcpy' or `memmove' as appropriate

2014-12-10 Thread Justus Winter
* ext2fs/inode.c: Replace `bcopy' with `memcpy' or `memmove' as appropriate. * ext2fs/pager.c: Likewise. * isofs/lookup.c: Likewise. * isofs/main.c: Likewise. * isofs/rr.c: Likewise. * libdiskfs/file-get-trans.c: Likewise. * libiohelp/return-buffer.c: Likewise. * libpager/pagemap.c: Likewise. * lib

[PATCH hurd 1/5] libpager: remove the `seqno' parameters

2014-12-10 Thread Justus Winter
* libpager/Makefile (MIGSFLAGS): Drop `-DSEQNOS'. * libpager/priv.h (struct pager): Drop fields `seqno' and `waitingforseqno'. * libpager/chg-compl.c: Adopt accordingly. * libpager/data-request.c: Likewise. * libpager/data-return.c: Likewise. * libpager/data-unlock.c: Likewise. * libpager/demuxer.c

[PATCH hurd 3/5] ext2fs: tune the size of the inode cache

2014-12-10 Thread Justus Winter
The node cache uses a fixed number of buckets giving it a linear access complexity, although with a small constant factor. Paper over this issue by increasing the number of buckets. * ext2fs/inode.c (INOHSZ): Increase from 512 to 8192 entries. --- ext2fs/inode.c | 2 +- 1 file changed, 1 inserti

[PATCH hurd 2/5] libpager: use libports notification functions

2014-12-10 Thread Justus Winter
Now that we do not use sequence numbers anymore, we can simply use libports notification server functions. * libpager/Makefile (SRCS): Drop `no-senders.c', and `notify-stubs.c'. (OBJS): Drop `notifyServer.o'. * libpager/demuxer.c (pager_demuxer): Use libports server functions. * libpager/mig-mutat

Neat trick to rescue Hurd systems

2014-12-10 Thread Justus Winter
Hello, I came up with a neat trick to rescue hanging Hurd systems. Or rather, the filesystems. When we kill an essential task from the kernel debugger, /hurd/startup will reboot the system: Stopped at machine_idle+0xe: leave db> call task_terminate($task4) 0 db> c /hurd/startup: Crashing

Re: [PATCH glibc] Hurd: Fix definition of `PAGE_COPY_THRESHOLD'

2014-12-10 Thread Justus Winter
Quoting Justus Winter (2014-12-10 01:50:17) > Quoting Samuel Thibault (2014-12-10 00:07:28) > > so people can try them. > Yes, on real workloads. Somewhat less synthetic: % bash do_pipebench.bash Piping 1024 MByte from zero to null. (dd if=zero bs=X count=overall/X | dd of=null bs=X) 4096 81