projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
644eec5
)
Solaris cpu affinity fix
author
Jens Axboe
<jens.axboe@oracle.com>
Mon, 3 Aug 2009 08:54:41 +0000
(10:54 +0200)
committer
Jens Axboe
<jens.axboe@oracle.com>
Mon, 3 Aug 2009 08:54:41 +0000
(10:54 +0200)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
os/os-solaris.h
patch
|
blob
|
blame
|
history
diff --git
a/os/os-solaris.h
b/os/os-solaris.h
index 56729565b127631b2061258c7a9e373e47da7f21..f00aae1089b19380fd05d2f8017facea2847cea5 100644
(file)
--- a/
os/os-solaris.h
+++ b/
os/os-solaris.h
@@
-70,7
+70,7
@@
static inline int fio_set_odirect(int fd)
* pset binding hooks for fio
*/
#define fio_setaffinity(pid, cpumask) \
- pset_bind(
&
(cpumask), P_PID, (pid), NULL)
+ pset_bind((cpumask), P_PID, (pid), NULL)
#define fio_getaffinity(pid, ptr) ({ 0; })
#define fio_cpu_clear(mask, cpu) pset_assign(PS_NONE, (cpu), NULL)