Files
linux-st/include/linux
Rusty Russell 42b36cc0ce virtio: Force use of power-of-two for descriptor ring sizes
The virtio descriptor rings of size N-1 were nicely set up to be
aligned to an N-byte boundary.  But as Anthony Liguori points out, the
free-running indices used by virtio require that the sizes be a power
of 2, otherwise we get problems on wrap (demonstrated with lguest).

So we replace the clever "2^n-1" scheme with a simple "align to page
boundary" scheme: this means that all virtio rings take at least two
pages, but it's safer than guessing cache alignment.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2007-11-12 13:59:40 +11:00
..
2007-10-29 07:41:32 -07:00
2007-11-05 18:10:28 -05:00
2007-10-21 02:37:45 -04:00
2007-10-19 11:53:42 -07:00
2007-10-19 11:53:42 -07:00
2007-10-20 03:10:57 +02:00
2007-10-19 11:53:36 -07:00
2007-10-19 11:53:36 -07:00
2007-10-19 23:07:36 +02:00
2007-10-21 02:37:45 -04:00
2007-10-19 11:53:36 -07:00
2007-11-02 08:47:25 +01:00
2007-10-20 02:00:58 +01:00
2007-10-22 08:13:19 -07:00
2007-10-22 08:13:20 -07:00
2007-10-29 07:41:32 -07:00
2007-10-22 08:13:21 -07:00
2007-10-18 14:37:31 -07:00
2007-10-19 11:53:42 -07:00
2007-10-22 00:56:52 -04:00
2007-10-27 23:42:32 -04:00
2007-10-18 14:37:32 -07:00
2007-11-05 15:12:32 -08:00
2007-10-19 11:53:49 -07:00
2007-10-25 15:02:50 +10:00
2007-10-25 15:02:50 +10:00
2007-11-05 18:10:28 -05:00
2007-10-19 11:53:55 -07:00
2007-10-23 15:49:54 +10:00
2007-10-19 11:53:54 -07:00
2007-10-19 11:53:44 -07:00
2007-11-07 04:15:12 -08:00
2007-10-19 17:19:16 -04:00
2007-10-19 11:53:34 -07:00
2007-10-19 11:53:41 -07:00
2007-11-05 13:35:17 -08:00
2007-10-19 11:53:41 -07:00
2007-10-19 11:53:41 -07:00
2007-10-19 11:53:41 -07:00
2007-11-07 04:10:52 -08:00
2007-10-22 08:13:20 -07:00
2007-11-02 08:47:06 +01:00
2007-10-19 11:53:44 -07:00
2007-10-19 11:53:44 -07:00
2007-11-09 22:39:38 +01:00
2007-10-29 07:41:33 -07:00
2007-10-23 13:47:31 -05:00
2007-10-23 15:49:54 +10:00
2007-10-23 15:49:54 +10:00
2007-10-23 15:49:55 +10:00
2007-10-23 15:49:54 +10:00
2007-10-23 15:49:54 +10:00
2007-10-19 11:53:34 -07:00