diff options
author | Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> | 2019-08-15 15:13:55 +0300 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-08-21 15:31:17 +0300 |
commit | 624676e788992e4da8de1fad93bfe51563a7f9a0 (patch) | |
tree | 014026527941d0bdfe2a09a5fdd363c8815b84aa /security | |
parent | 71dd77fd4bf7d1675a95dfe04a99669ce15b58f8 (diff) | |
download | linux-624676e788992e4da8de1fad93bfe51563a7f9a0.tar.xz |
xdp: xdp_umem: replace kmap on vmap for umem map
For 64-bit there is no reason to use vmap/vunmap, so use page_address
as it was initially. For 32 bits, in some apps, like in samples
xdpsock_user.c when number of pgs in use is quite big, the kmap
memory can be not enough, despite on this, kmap looks like is
deprecated in such cases as it can block and should be used rather
for dynamic mm.
Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Acked-by: Jonathan Lemon <jonathan.lemon@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions