Re: [PATCH] mm: add a "struct page_frag" type containing a page,offset and length

From: Jens Axboe
Date: Fri Oct 14 2011 - 02:42:46 EST


On 2011-10-13 12:02, Ian Campbell wrote:
> A few network drivers currently use skb_frag_struct for this purpose but I have
> patches which add additional fields and semantics there which these other uses
> do not want.
>
> A structure for reference sub-page regions seems like a generally useful thing
> so do so instead of adding a network subsystem specific structure.

Looks good to me, I can switch struct bio_vec over to this once it's in.

Acked-by: Jens Axboe <axboe@xxxxxxxxx>

--
Jens Axboe

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/