diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-02-15 23:40:54 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-02-15 23:40:56 +0100 |
commit | cb5e3ca248435f19fce0254987ba894a25611974 (patch) | |
tree | 0a381f24b9d537b10e2079e38a3adeb5da59fcc0 /device/io_req.h | |
parent | b0c0a49918b6fd5f75cbd7565429a1398ddc80a9 (diff) | |
download | gnumach-cb5e3ca248435f19fce0254987ba894a25611974.tar.gz gnumach-cb5e3ca248435f19fce0254987ba894a25611974.tar.bz2 gnumach-cb5e3ca248435f19fce0254987ba894a25611974.zip |
Document spl levels of locks taken during interrupts
Diffstat (limited to 'device/io_req.h')
-rw-r--r-- | device/io_req.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/device/io_req.h b/device/io_req.h index b80b3dde..e66e0800 100644 --- a/device/io_req.h +++ b/device/io_req.h @@ -95,6 +95,8 @@ struct io_req { * locking is needed in this sequence. Unfortunately, a synchronous wait * for a buffer requires a lock to avoid problems if the wait and interrupt * happen simultaneously on different processors. + * + * Shall be taken at splio only */ #define ior_lock(ior) simple_lock(&(ior)->io_req_lock) |