Re: [PATCH v13 45/51] sunrpc: Allow to demand-allocate pages to encode into

From: Trond Myklebust
Date: Tue Nov 03 2015 - 11:25:54 EST


On Tue, Nov 3, 2015 at 10:17 AM, Andreas Gruenbacher
<agruenba@xxxxxxxxxx> wrote:
> When encoding large, variable-length objects such as acls into xdr_bufs,
> it is easier to allocate buffer pages on demand rather than precomputing
> the required buffer size.
>

NACK. We're not doing allocations from inside the XDR encoders. This
can and should be done before calling into the SUNRPC layer.

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