diff options
author | Steve French <sfrench@us.ibm.com> | 2008-04-15 18:38:29 +0000 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2008-04-15 18:38:29 +0000 |
commit | e48d199ba10bb8267f491a3a585ca4a833e950a4 (patch) | |
tree | c7d308a42479c8f21aaef889abfa004b0f1bb482 /include/linux/virtio.h | |
parent | cce246ee5f3c7f4d3539ea41d13feb7a07859145 (diff) | |
parent | 0de19a456cb59106420864927fdec152310f70b6 (diff) | |
download | op-kernel-dev-e48d199ba10bb8267f491a3a585ca4a833e950a4.zip op-kernel-dev-e48d199ba10bb8267f491a3a585ca4a833e950a4.tar.gz |
Merge branch 'master' of /pub/scm/linux/kernel/git/torvalds/linux-2.6
Diffstat (limited to 'include/linux/virtio.h')
-rw-r--r-- | include/linux/virtio.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/virtio.h b/include/linux/virtio.h index 12c18ac..e7d1084 100644 --- a/include/linux/virtio.h +++ b/include/linux/virtio.h @@ -41,6 +41,8 @@ struct virtqueue * Returns NULL or the "data" token handed to add_buf. * @disable_cb: disable callbacks * vq: the struct virtqueue we're talking about. + * Note that this is not necessarily synchronous, hence unreliable and only + * useful as an optimization. * @enable_cb: restart callbacks after disable_cb. * vq: the struct virtqueue we're talking about. * This re-enables callbacks; it returns "false" if there are pending @@ -48,7 +50,8 @@ struct virtqueue * checking for more work, and enabling callbacks. * * Locking rules are straightforward: the driver is responsible for - * locking. No two operations may be invoked simultaneously. + * locking. No two operations may be invoked simultaneously, with the exception + * of @disable_cb. * * All operations can be called in any context. */ |