Messages in this thread | | | Date | Wed, 19 Dec 2007 23:58:07 -0800 (PST) | Subject | Re: [PATCH 0/5] sg_ring for scsi | From | David Miller <> |
| |
From: Rusty Russell <rusty@rustcorp.com.au> Date: Thu, 20 Dec 2007 18:53:48 +1100
> Manipulating the magic chains is horrible; it looks simple to the > places which simply want to iterate through it, but it's awful for > code which wants to create them.
I'm not saying complexity is inherent in this stuff, but assuming that it is the complexity should live as far away from the minions (the iterators in this case). Therefore, the creators is the right spot for the hard stuff.
| |