summaryrefslogtreecommitdiff
path: root/os/os-netbsd.h
diff options
context:
space:
mode:
authorTomohiro Kusumi <tkusumi@tuxera.com>2017-04-30 20:41:00 +0300
committerJens Axboe <axboe@fb.com>2017-04-30 16:51:21 -0600
commitadcedfb85288e86c9e70a9003485c89fa47722ce (patch)
tree8c5b6ffabe51360aa1d06718a1e583feea544473 /os/os-netbsd.h
parent3cdc4fb008457c16edbfd8101ba57d45e53a5d14 (diff)
downloadfio-adcedfb85288e86c9e70a9003485c89fa47722ce.tar.gz
fio-adcedfb85288e86c9e70a9003485c89fa47722ce.tar.bz2
Drop triple X for cpu affinity for OpenBSD
(Sorry, resending this as gmail refused an email title including triple X) This isn't really a fio's TODO item since no such thing seems to exist (or have existed) in OpenBSD as of 2017, according to below reference. NetBSD is in more or less similar situation, except that NetBSD has pthread_[gs]etaffinity_np() for threads, though it has another problem that they don't take pid/tid. CPU affinity comes to OpenBSD (2009) http://undeadly.org/cgi?action=article&sid=20090324210236 tedu old comment about cpu affinity. (2012) http://openbsd-archive.7691.n7.nabble.com/tedu-old-comment-about-cpu-affinity-tt172330.html how to use cpu affinity from user space (2013) http://openbsd-archive.7691.n7.nabble.com/how-to-use-cpu-affinity-from-user-space-td222323.html Signed-off-by: Tomohiro Kusumi <tkusumi@tuxera.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'os/os-netbsd.h')
-rw-r--r--os/os-netbsd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/os-netbsd.h b/os/os-netbsd.h
index e6ba5081..7be02a78 100644
--- a/os/os-netbsd.h
+++ b/os/os-netbsd.h
@@ -25,7 +25,7 @@
#define FIO_HAVE_FS_STAT
#define FIO_HAVE_GETTID
-#undef FIO_HAVE_CPU_AFFINITY /* XXX notyet */
+#undef FIO_HAVE_CPU_AFFINITY /* doesn't exist */
#define OS_MAP_ANON MAP_ANON