[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnumach RPC: get info about the calling task
From: |
Samuel Thibault |
Subject: |
Re: gnumach RPC: get info about the calling task |
Date: |
Sun, 17 Oct 2021 18:32:31 +0200 |
User-agent: |
NeoMutt/20170609 (1.8.3) |
Joan Lledó, le dim. 17 oct. 2021 17:41:11 +0200, a ecrit:
> 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?
It will be useful to implement mremap with the same call.
In your case you know the size, don't you?
> 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?
That's almost the same, isn't it? (there is just the max_prot parameter,
which you can indeed add to the RPC above).
Samuel
- Re: gnumach RPC: get info about the calling task, (continued)
- Re: gnumach RPC: get info about the calling task, Sergey Bugaev, 2021/10/12
- Re: gnumach RPC: get info about the calling task, Samuel Thibault, 2021/10/12
- Re: gnumach RPC: get info about the calling task, Joan Lledó, 2021/10/16
- [PATCH] new interface: vm_pager, Joan Lledó, 2021/10/16
- Re: gnumach RPC: get info about the calling task, Sergey Bugaev, 2021/10/16
- Re: gnumach RPC: get info about the calling task, Sergey Bugaev, 2021/10/16
- Re: gnumach RPC: get info about the calling task, Samuel Thibault, 2021/10/16
- Re: gnumach RPC: get info about the calling task, Sergey Bugaev, 2021/10/16
- Re: gnumach RPC: get info about the calling task, Joan Lledó, 2021/10/16
- Re: gnumach RPC: get info about the calling task, Joan Lledó, 2021/10/17
- Re: gnumach RPC: get info about the calling task,
Samuel Thibault <=
- Re: gnumach RPC: get info about the calling task, Joan Lledó, 2021/10/17
- Re: gnumach RPC: get info about the calling task, Sergey Bugaev, 2021/10/17
- Re: gnumach RPC: get info about the calling task, Samuel Thibault, 2021/10/17
- Re: gnumach RPC: get info about the calling task, Joan Lledó, 2021/10/24
- [PATCH] new interface: memory_object_get_proxy, Joan Lledó, 2021/10/24
- Re: [PATCH] new interface: memory_object_get_proxy, Sergey Bugaev, 2021/10/24
- Re: [PATCH] new interface: memory_object_get_proxy, Joan Lledó, 2021/10/30
- Re: [PATCH] new interface: memory_object_get_proxy, Sergey Bugaev, 2021/10/30
- Re: [PATCH] new interface: memory_object_get_proxy, Sergey Bugaev, 2021/10/30
- Re: [PATCH] new interface: memory_object_get_proxy, Samuel Thibault, 2021/10/30