diff options
author | Kevin Laatz <kevin.laatz@intel.com> | 2019-08-27 05:25:30 +0300 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-08-31 02:08:27 +0300 |
commit | 3945b37a975d22bed33b525f2933bac82424793d (patch) | |
tree | 96d0f8a9bd273899be911c3c6a2e41fa72eb8ff2 /fs/efs/file.c | |
parent | 03895e63ff97447e5eab1b71ed46e3662a45bfe8 (diff) | |
download | linux-3945b37a975d22bed33b525f2933bac82424793d.tar.xz |
samples/bpf: use hugepages in xdpsock app
This patch modifies xdpsock to use mmap instead of posix_memalign. With
this change, we can use hugepages when running the application in unaligned
chunks mode. Using hugepages makes it more likely that we have physically
contiguous memory, which supports the unaligned chunk mode better.
Signed-off-by: Kevin Laatz <kevin.laatz@intel.com>
Acked-by: Jonathan Lemon <jonathan.lemon@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'fs/efs/file.c')
0 files changed, 0 insertions, 0 deletions