Re: tmpfs replacement

2003-08-14 Thread Roland McGrath
There is no reason to replace tmpfs per se, just hack it. There is no problem with its directory management code, right? A tmpfs that uses vm_allocate for file pages is perfectly doable, it just has a limit on total file space imposed by the address space of the tmpfs server process (so presumably

Re: tmpfs replacement

2003-08-14 Thread Roland McGrath
The only interesting thread is the last one. The others are service threads waiting for something to do, which is normal. When showing cold backtraces, always include "x/i $pc" and "info regs" as well. It's annoying that the arguments are omitted from most of the frames from "bt full", like the

Re: tmpfs replacement

2003-08-14 Thread Marco Gerards
Roland McGrath <[EMAIL PROTECTED]> writes: > The only interesting thread is the last one. The others are service > threads waiting for something to do, which is normal. When showing cold > backtraces, always include "x/i $pc" and "info regs" as well. It's > annoying that the arguments are omitt

Re: tmpfs replacement

2003-08-14 Thread Roland McGrath
> I'm not sure, but it seems to work. There are two bugs in the default > pager (or GNUMach, I'm not sure about this) that make tmpfs unusable. We should figure out what these really are. > I prefer to fix the current tmpfs instead.io_map is more ugly when > using libnetfs I think because the mem

Re: tmpfs replacement

2003-08-14 Thread Marco Gerards
Roland McGrath <[EMAIL PROTECTED]> writes: > > I'm not sure, but it seems to work. There are two bugs in the default > > pager (or GNUMach, I'm not sure about this) that make tmpfs unusable. > > We should figure out what these really are. Right. I hope you can have a look at these backtraces. Pl

Re: tmpfs replacement

2003-08-14 Thread Marco Gerards
Roland McGrath <[EMAIL PROTECTED]> writes: > There is no reason to replace tmpfs per se, just hack it. > There is no problem with its directory management code, right? I'm not sure, but it seems to work. There are two bugs in the default pager (or GNUMach, I'm not sure about this) that make tmpfs

Re: tmpfs replacement

2003-08-14 Thread Roland McGrath
> Thanks for your help. For completeness here is the "bt full" of thread > 4, with debugging symbols for glibc this time, x/i and info regs. That verifies what we suspected. The libc symbols help a little, but there is some bug in gdb or gcc that prevents the libpager/libdiskfs frames from showin