[Top][All Lists]

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

Re: gnumach RPC: get info about the calling task

From: Joan Lledó
Subject: Re: gnumach RPC: get info about the calling task
Date: Sun, 17 Oct 2021 17:41:11 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0


El 16/10/21 a les 13:27, Sergey Bugaev ha escrit:

routine vm_make_proxy (
     target_task : vm_task_t;
     address : vm_address_t;
     size : vm_size_t;
     out proxy : memory_object_t);

Why the "size" parameter? I'd rather see a new wrapper for memory_object_create_proxy() which receives the same params but with the address instead of the original pager, which internally gets the pager from the address and calls memory_object_create_proxy(). After all, the only reason why I need the pager is to send it to memory_object_create_proxy() at netfs_impl.c:617 [1]. So why not skip one step?

[1] http://git.savannah.gnu.org/cgit/hurd/hurd.git/tree/pci-arbiter/netfs_impl.c?h=jlledom-pci-memory-map#n616

reply via email to

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