• Alessandro Rubini's avatar
    buffers/zio-buf-vmalloc.c: add a "merge-data" attribute, document it · 6f131e28
    Alessandro Rubini authored
    The merge-data attribute tells the buffer to try a merge of a
    newly-stored block with the previous one. When this is possible, the
    buffer updates the previous block (nsamples, datalen) and releases the
    new control immediately. This allows saving some memory without
    breaking the ZIO data model. The feature only makes sense for input,
    but there is no policy in place to enforce that.
    
    When user space reads this new block, it will get attributes (and
    timestamp) for the first data items, but all available items are
    returned in this bigger block.
    Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
    Acked-by: 's avatarFederico Vaga <federico.vaga@gmail.com>
    6f131e28
Name
Last commit
Last update
..
img Loading commit data...
.gitignore Loading commit data...
Makefile Loading commit data...
fixinfo Loading commit data...
infofilter Loading commit data...
zio-manual.in Loading commit data...