Next in thread → Next in month →

[PATCH 1/2] introduction: clarify rings do both input and output (not either/or)

From
Rusty Russell <>
Date
2014-02-10T03:56:00+00:00
ID
Thread
[PATCH 1/2] introduction: clarify rings do both input and output (not either/or)
"Michael S. Tsirkin" <> writes:
> it's a bit vague: says descriptors where it means
> indices and input/output where it means
> device to driver/driver to device, but
> this seems good for brevity.

Just to note that this was obsoleted in favour of eventual wording:

Virtio devices consist of rings of descriptors

for both input and output, which are neatly laid out to avoid cache

effects from both driver and device writing to the same cache

lines.

Which I also added to feedback/5.txt.

Thanks,
Rusty.
> Signed-off-by: Michael S. Tsirkin <>
> ---
>  introduction.tex | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/introduction.tex b/introduction.tex
> index b93934f..cf2fdac 100644
> --- a/introduction.tex
> +++ b/introduction.tex
> @@ -13,7 +13,8 @@ inter-guest communication) requires copying.
>  }
>
>
Efficient: Virtio devices consist of rings of descriptors
> -  for both input and output, which are neatly separated to avoid cache
> +  for both input and output. Input rings are are neatly separated
> +  from output rings to avoid cache
>
effects from both driver and device writing to the same cache
>
lines.
>
> --
> MST
>
>
>

---------------------------------------------------------------------
> To unsubscribe, e-mail: 
> For additional commands, e-mail: 
Next in thread → Next in month →