summaryrefslogtreecommitdiffstats
path: root/include/linux/sched.h
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2008-01-24 08:54:47 +0100
committerJens Axboe <jens.axboe@oracle.com>2008-01-28 10:50:36 +0100
commitfadad878cc0640cc9cd5569998bf54b693f7b38b (patch)
tree9ad8c65d458d45f970f7e78cd1512c0e7da58def /include/linux/sched.h
parent521f3bbdba6b92582ef8047df01b156668343542 (diff)
downloadop-kernel-dev-fadad878cc0640cc9cd5569998bf54b693f7b38b.zip
op-kernel-dev-fadad878cc0640cc9cd5569998bf54b693f7b38b.tar.gz
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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 80837e7..2d0546e 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
OpenPOWER on IntegriCloud