Re: oskit-mach: vm_map_copyout crash

2001-11-05 Thread Roland McGrath
You said "fixing kmalloc was easy", but I didn't see you post any change to the oskit code. I'm not at all sure that kmalloc should change. ___ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd

Re: oskit-mach: vm_map_copyout crash

2001-11-05 Thread Roland McGrath
> On Mon, 29 Oct 2001, Daniel Wagner wrote: > > > oskit and not for oskit-mach. So I will write a patch for oskit and then > > I'll see what happends. > > It seems that the oskit wrappers for kmalloc and kfree don't pass the > right flags to oskit_linux_mem_alloc and oskit_linux_mem_free. I w

Re: L4Mach or Refactor Hurd Servers?

2001-11-05 Thread Roland McGrath
libports is a pretty good approximation of what we (the Hurd developers) think an IPC system ought to provide for server writers. It is certainly an open question as to how much is done in the microkernel's IPC system and how much is done in a user-level library. We do have strong opinions about

L4Mach or Refactor Hurd Servers?

2001-11-05 Thread Ian Duggan
Hi, I've pored over all the documentation and am getting into the source code for the relative bits. I've come to a decision point and am interested in some feedback from the list. I'm trying to decide between implementing something like L4Mach or reimplementing the Hurd servers to use L4 tasks

Re: slow access to files

2001-11-05 Thread Farid Hajji
Hi Diego, > I've noticed that access to files on Hurd is noticeable slower than using > Linux. For example compiling hurd require a lot of disk access using hurd, > while cross compiling hurd on linux uses few disk access. I'm sure you're not comparing apples and oranges here, though it may see

Re: oskit-mach: vm_map_copyout crash

2001-11-05 Thread Daniel Wagner
On Mon, 05 Nov 2001, Daniel Wagner wrote: > On Mon, 29 Oct 2001, Daniel Wagner wrote: > > > Fixing kmalloc was easy, but I've some problems with kfree. kfree takes Oops, it should be oskit_skbufio_mem_alloc and not kmalloc. Here is the bt for freeing memory: #0 panic ( fmt=0x209960 "../.

Re: oskit-mach: vm_map_copyout crash

2001-11-05 Thread Daniel Wagner
On Mon, 29 Oct 2001, Daniel Wagner wrote: > oskit and not for oskit-mach. So I will write a patch for oskit and then > I'll see what happends. It seems that the oskit wrappers for kmalloc and kfree don't pass the right flags to oskit_linux_mem_alloc and oskit_linux_mem_free. Fixing kmalloc was

slow access to files

2001-11-05 Thread Diego Roversi
Hi, I've noticed that access to files on Hurd is noticeable slower than using Linux. For example compiling hurd require a lot of disk access using hurd, while cross compiling hurd on linux uses few disk access. The question is: there is some kind of caching on hurd or in gnumach? Can be useful

Re: gdb and attaching processes

2001-11-05 Thread Roland McGrath
Hmm. I am not in a position to actually debug this, but I am reading the gdb sources and I think I understand what is happening. In gdb/inflow.c is the following comment and code, which gets run when you do an "attach" (among other times). /* If attach_flag is set, we don't know whether