diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2008-01-24 10:54:47 +0300 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2008-01-28 12:50:36 +0300 |
commit | fadad878cc0640cc9cd5569998bf54b693f7b38b (patch) | |
tree | 9ad8c65d458d45f970f7e78cd1512c0e7da58def /include/linux/sched.h | |
parent | 521f3bbdba6b92582ef8047df01b156668343542 (diff) | |
download | linux-fadad878cc0640cc9cd5569998bf54b693f7b38b.tar.xz |
kernel: add CLONE_IO to specifically request sharing of IO contexts
syslets (or other threads/processes that want io context sharing) can
set this to enforce sharing of io context.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 80837e7d527e..2d0546e884ea 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -27,6 +27,7 @@ #define CLONE_NEWUSER 0x10000000 /* New user namespace */ #define CLONE_NEWPID 0x20000000 /* New pid namespace */ #define CLONE_NEWNET 0x40000000 /* New network namespace */ +#define CLONE_IO 0x80000000 /* Clone io context */ /* * Scheduling policies |