[Cake] [PATCH net-next v3] Add Common Applications Kept Enhanced (cake) qdisc
Toke Høiland-Jørgensen
toke at toke.dk
Wed Apr 25 14:46:12 EDT 2018
David Miller <davem at davemloft.net> writes:
> From: Toke Høiland-Jørgensen <toke at toke.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)?
Ah yes; we actually fixed that before, but guess it got lost this time
around. Will fix :)
-Toke
More information about the Cake
mailing list