[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180425.143948.235979083753006.davem@davemloft.net>
Date: Wed, 25 Apr 2018 14:39:48 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: toke@...e.dk
Cc: netdev@...r.kernel.org, cake@...ts.bufferbloat.net,
dave.taht@...il.com
Subject: Re: [PATCH net-next v3] Add Common Applications Kept Enhanced
(cake) qdisc
From: Toke Høiland-Jørgensen <toke@...e.dk>
Date: Wed, 25 Apr 2018 15:42:48 +0200
> +static void *cake_zalloc(size_t sz)
> +{
> + void *ptr = kzalloc(sz, GFP_KERNEL | __GFP_NOWARN);
> +
> + if (!ptr)
> + ptr = vzalloc(sz);
> + return ptr;
> +}
This is just kvzalloc(sz, GFP_KERNEL | __GFP_NOWARN)?
Powered by blists - more mailing lists