Re: [PATCH 2/3 2.6.27] cxgb3 - Add page support to jumbo frame Rxqueue

From: Andrew Morton
Date: Wed May 21 2008 - 20:21:30 EST


On Tue, 20 May 2008 18:57:37 -0700
Divy Le Ray <divy@xxxxxxxxxxx> wrote:

> From: Divy Le Ray <divy@xxxxxxxxxxx>
>
> Add page support to Jumbo frame Rx queues.
>
> ...
>
> @@ -460,7 +464,8 @@ nomem: q->alloc_failed++;
> if (q->use_pages) {
> if (q->pg_chunk.page) {
> put_page(q->pg_chunk.page);
> - __free_page(q->pg_chunk.page);
> + __free_pages(q->pg_chunk.page,
> + q->order);
> q->pg_chunk.page =
> sd->pg_chunk.page = NULL;
> }

This hunk doesn't apply to 2.6.26-rc3, afacit. The code it's patching
just isn't there. But I think I fixed it up OK.

--
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/