Hi,

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