diff options
| author | Ingo Molnar <mingo@elte.hu> | 2002-08-13 00:36:37 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-08-13 00:36:37 -0700 |
| commit | 456f17cd1a2873b3e83cee85bcb30708037cb4e8 (patch) | |
| tree | 7cb07f07a669fbf8fac2943469a9256e1e154be7 /include/linux | |
| parent | aeb44e19d8021c69ff39657c8c6f6a89b66ba8b2 (diff) | |
[PATCH] user-vm-unlock-2.5.31-A2
This implements CLONE_VM_RELEASE, which lets the child release the 'user
VM' at mm_release() time.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/sched.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 63a6b938b145..fcd107c3d29c 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -48,6 +48,7 @@ struct exec_domain; #define CLONE_SETTLS 0x00080000 /* create a new TLS for the child */ #define CLONE_SETTID 0x00100000 /* write the TID back to userspace */ #define CLONE_DETACHED 0x00200000 /* parent wants no child-exit signal */ +#define CLONE_RELEASE_VM 0x00400000 /* release the userspace VM */ #define CLONE_SIGNAL (CLONE_SIGHAND | CLONE_THREAD) @@ -306,6 +307,7 @@ struct task_struct { wait_queue_head_t wait_chldexit; /* for wait4() */ struct completion *vfork_done; /* for vfork() */ + long *user_vm_lock; /* for CLONE_RELEASE_VM */ unsigned long rt_priority; unsigned long it_real_value, it_prof_value, it_virt_value; |
