hurd-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] proxy memory objects


From: Marcus Brinkmann
Subject: Re: [PATCH] proxy memory objects
Date: Fri, 13 Dec 2002 19:21:09 +0100
User-agent: Mutt/1.4i

On Wed, Dec 11, 2002 at 09:55:35PM -0800, Thomas Bushnell, BSG wrote:
> (Incidental question: why does vm_object_enter fail on a proxy?  I
> would have expected it to hang when the call to memory_object_init
> fails to get a proper response.  That is, it should see that this is
> the first time the kernel has noticed this "pager", send
> memory_object_init to it, and then do the vm_object_wait call looking
> for VM_OBJECT_EVENT_INITIALIZED, which should never happen.)

Because of "po = ip_kotype(pager)", and we have a kotype for proxy objects,
so the "if (po != IKOT_NONE) break;" hits ("bail if there is already a
kobject associated with the pager port").  Later below, it is careful to
only do stuff if it is really a VM object, which it isn't because it is an
unhandled kernel object type.

Thanks,
Marcus


-- 
`Rhubarb is no Egyptian god.' GNU      http://www.gnu.org    address@hidden
Marcus Brinkmann              The Hurd http://www.gnu.org/software/hurd/
address@hidden
http://www.marcus-brinkmann.de/



reply via email to

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