summaryrefslogtreecommitdiffstats
path: root/samples/v4l
diff options
context:
space:
mode:
authorDominique Martinet <dominique.martinet@cea.fr>2018-07-30 05:55:19 +0000
committerDominique Martinet <dominique.martinet@cea.fr>2018-09-08 01:39:45 +0900
commit523adb6cc10b48655c0abe556505240741425b49 (patch)
tree16af209a90fefd0e5b6a0dd25ddfbca9ca4530fe /samples/v4l
parent6348b903d79119a8157aace08ab99521f5dba139 (diff)
downloadlinux-523adb6cc10b48655c0abe556505240741425b49.tar.gz
linux-523adb6cc10b48655c0abe556505240741425b49.tar.bz2
linux-523adb6cc10b48655c0abe556505240741425b49.zip
9p: embed fcall in req to round down buffer allocs
'msize' is often a power of two, or at least page-aligned, so avoiding an overhead of two dozen bytes for each allocation will help the allocator do its work and reduce memory fragmentation. Link: http://lkml.kernel.org/r/1533825236-22896-1-git-send-email-asmadeus@codewreck.org Suggested-by: Matthew Wilcox <willy@infradead.org> Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr> Reviewed-by: Greg Kurz <groug@kaod.org> Acked-by: Jun Piao <piaojun@huawei.com> Cc: Matthew Wilcox <willy@infradead.org>
Diffstat (limited to 'samples/v4l')
0 files changed, 0 insertions, 0 deletions