SMP - Process is stopped when VM modifies the page tables
- RTS_VMINHIBIT flag is used to stop process while VM is fiddling with its pagetables - more generic way of sending synchronous scheduling events among cpus - do the x-cpu smp sched calls only if the target process is runnable. If it is not, it cannot be running and it cannot become runnable this CPU holds the BKL
This commit is contained in:
@@ -635,6 +635,8 @@
|
||||
#define VMCTL_KERN_PHYSMAP 27
|
||||
#define VMCTL_KERN_MAP_REPLY 28
|
||||
#define VMCTL_SETADDRSPACE 29
|
||||
#define VMCTL_VMINHIBIT_SET 30
|
||||
#define VMCTL_VMINHIBIT_CLEAR 31
|
||||
|
||||
/* Codes and field names for SYS_SYSCTL. */
|
||||
#define SYSCTL_CODE m1_i1 /* SYSCTL_CODE_* below */
|
||||
|
||||
Reference in New Issue
Block a user