[Cake] [PATCH net-next v3] Add Common Applications Kept Enhanced (cake) qdisc

David Miller davem at davemloft.net
Wed Apr 25 14:39:48 EDT 2018


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)?


More information about the Cake mailing list