Re: [PATCH] proxy memory objects
Marcus Brinkmann <[email protected]> Fri, 13 Dec 2002 19:21:09 +0100
| Newsgroups | gmane.os.hurd.devel.readers |
|---|---|
| Message-ID | <[email protected]> |
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 [email protected]
Marcus Brinkmann The Hurd http://www.gnu.org/software/hurd/
[email protected]
http://www.marcus-brinkmann.de/