summaryrefslogtreecommitdiff
path: root/include/asm-arm/ptrace.h
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2008-05-29 07:35:22 (GMT)
committerJens Axboe <jens.axboe@oracle.com>2008-07-03 11:21:12 (GMT)
commit863fddcb4b0caee4c2d5bd6e3b28779920516db3 (patch)
tree9170df5fb0e26d77d45017069b7756f7c80afde5 /include/asm-arm/ptrace.h
parent9a11b4ed0e7c44bca7c939aa544c3c47aae40c12 (diff)
downloadlinux-fsl-qoriq-863fddcb4b0caee4c2d5bd6e3b28779920516db3.tar.xz
as-iosched: properly protect ioc_gone and ioc count
If we have multiple tasks freeing io contexts when as-iosched is being unloaded, we could complete() ioc_gone twice. Fix that by protecting ioc_gone complete() and clearing with a spinlock for just that purpose. Doesn't matter from a performance perspective, since it'll only enter that path when ioc_gone != NULL (when as-iosched is being rmmod'ed). Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'include/asm-arm/ptrace.h')
0 files changed, 0 insertions, 0 deletions