bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC] kern: simple futex for gnumach (version 6)


From: Richard Braun
Subject: Re: [RFC] kern: simple futex for gnumach (version 6)
Date: Fri, 27 Dec 2013 22:32:49 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Fri, Dec 27, 2013 at 10:23:01PM +0100, Marin Ramesa wrote:
> On 12/27/2013 09:58:07 PM, Richard Braun wrote:
> >Do you mean you're expecting kalloc() to actually work in a POSIX
> >environment ?
> 
> I expected it to work on Hurd running gnumach, but I don't understand
> what it means to function to work in a POSIX environment.

If running GNU Mach as the kernel, it should. If running it "from GDB"
in userspace (and that's what I mean when I say "a POSIX environment"),
there is no way it can.

> But it's OK, I can test the code without kalloc().

Not completely, because you won't have address spaces (not due to kalloc
missing but rather because kalloc also relies on the virtual memory
system, and at this point, I guess kalloc doesn't work because the
environment in which you test is neither real hardware nor a virtual
machine emulating the appropriate architecture, preventing the VM system
from working).

-- 
Richard Braun



reply via email to

[Prev in Thread] Current Thread [Next in Thread]