Re: [RFC PATCH 1/2] sg_ring instead of scatterlist chaining

2007-11-05 Thread Randy Dunlap
On Mon, 5 Nov 2007 17:11:55 +1100 Rusty Russell wrote: > Hi all, > > This patch implements a header for a linked list of scatterlist > arrays, rather than using an extra entry and low pointer bits to chain them > together. I've tested that it's sane for virtio (which uses struct >

Re: [RFC PATCH 1/2] sg_ring instead of scatterlist chaining

2007-11-05 Thread Randy Dunlap
On Mon, 5 Nov 2007 17:11:55 +1100 Rusty Russell wrote: Hi all, This patch implements a header for a linked list of scatterlist arrays, rather than using an extra entry and low pointer bits to chain them together. I've tested that it's sane for virtio (which uses struct

[RFC PATCH 1/2] sg_ring instead of scatterlist chaining

2007-11-04 Thread Rusty Russell
Hi all, This patch implements a header for a linked list of scatterlist arrays, rather than using an extra entry and low pointer bits to chain them together. I've tested that it's sane for virtio (which uses struct scatterlist). Features: 1) Neatens code by including length in

[RFC PATCH 1/2] sg_ring instead of scatterlist chaining

2007-11-04 Thread Rusty Russell
Hi all, This patch implements a header for a linked list of scatterlist arrays, rather than using an extra entry and low pointer bits to chain them together. I've tested that it's sane for virtio (which uses struct scatterlist). Features: 1) Neatens code by including length in