virtio ring cleanups, which save stack on older gcc
Date
Thu, 29 May 2014 16:56:41 +0930
They don't make much difference: the easier fix is use gcc 4.8 which drops stack required across virtio block's virtio_queue_rq down to that kmalloc in virtio_ring from 528 to 392 bytes.
Still, these (*lightly tested*) patches reduce to 432 bytes, even for gcc 4.6.4. Posted here FYI.