Re: [PATCH net-next 1/4] net: allow large number of rx queues

From: Cong Wang
Date: Tue Nov 18 2014 - 15:29:20 EST


On Tue, Nov 18, 2014 at 8:22 AM, Pankaj Gupta <pagupta@xxxxxxxxxx> wrote:
>
> As vmalloc() adds overhead on a critical network path,
> __GFP_REPEAT flag is used with kzalloc() to do this fallback
> only when really needed.
>

Are you sure we need __GFP_REPEAT? We have vmalloc() as
fallback of kmalloc() in many places of networking (grep kvfree),
none of those I checked has this flag set.
--
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/