vm/ipc: only report signals when it matters to ipc
. ipc wants to know about processes that get signals, so that it can break blocking ipc operations . doing it for every single signal is wasteful and causes the annoying 'no slot for signals' message . this fix tells vm on a per-process basis it (ipc) wants to be notified, i.e. only when it does any ipc calls . move ipc config to separate config file while we're at it
This commit is contained in:
@@ -1071,8 +1071,11 @@
|
||||
# define VM_RS_MEM_PIN 0 /* pin memory */
|
||||
# define VM_RS_MEM_MAKE_VM 1 /* make VM instance */
|
||||
|
||||
#define VM_WATCH_EXIT (VM_RQ_BASE+43)
|
||||
# define VM_WE_EP m1_i1
|
||||
|
||||
/* Total. */
|
||||
#define NR_VM_CALLS 43
|
||||
#define NR_VM_CALLS 44
|
||||
#define VM_CALL_MASK_SIZE BITMAP_CHUNKS(NR_VM_CALLS)
|
||||
|
||||
/* not handled as a normal VM call, thus at the end of the reserved rage */
|
||||
|
||||
@@ -26,7 +26,8 @@ _PROTOTYPE( int vm_notify_sig, (endpoint_t ep, endpoint_t ipc_ep));
|
||||
_PROTOTYPE( int vm_set_priv, (int procnr, void *buf));
|
||||
_PROTOTYPE( int vm_update, (endpoint_t src_e, endpoint_t dst_e));
|
||||
_PROTOTYPE( int vm_memctl, (endpoint_t ep, int req));
|
||||
_PROTOTYPE( int vm_query_exit, (int *endpt));
|
||||
_PROTOTYPE( int vm_query_exit, (endpoint_t *endpt));
|
||||
_PROTOTYPE( int vm_watch_exit, (endpoint_t ep));
|
||||
_PROTOTYPE( int vm_forgetblock, (u64_t id));
|
||||
_PROTOTYPE( void vm_forgetblocks, (void));
|
||||
_PROTOTYPE( int vm_yield_block_get_block, (u64_t yieldid, u64_t getid,
|
||||
|
||||
Reference in New Issue
Block a user