Re: [PATCH] virtio-net: move sg off stack

From: David Miller
Date: Thu Apr 01 2010 - 22:27:03 EST

From: "Michael S. Tsirkin" <mst@xxxxxxxxxx>
Date: Wed, 31 Mar 2010 15:41:58 +0300

> Move sg structure off stack and into virtnet_info structure.
> This helps remove extra sg_init_table calls as well as reduce
> stack usage.
> Signed-off-by: Michael S. Tsirkin <mst@xxxxxxxxxx>
> ---
> Compile-tested only for now.
> Shirley, Rusty Russell, does this fix CONFIG_DEBUG_SG=y for you?

I'll apply this once I see some ACKs on testing.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at