lkml.org 
[lkml]   [2015]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH v13 45/51] sunrpc: Allow to demand-allocate pages to encode into
    From
    On Tue, Nov 3, 2015 at 10:17 AM, Andreas Gruenbacher
    <agruenba@redhat.com> 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


    \
     
     \ /
      Last update: 2015-11-03 17:41    [W:4.115 / U:0.768 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site