aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/mpi/mpicoder.c
diff options
context:
space:
mode:
authorFlorian Westphal <[email protected]>2025-07-09 17:05:16 +0000
committerPablo Neira Ayuso <[email protected]>2025-07-25 16:40:37 +0000
commit897eefee2eb73ec6c119a0ca357d7b4a3e92c5ef (patch)
tree889812dac14eabe060067a611e835d82206685bf /lib/crypto/mpi/mpicoder.c
parentnetfilter: nft_set_pipapo: merge pipapo_get/lookup (diff)
downloadkernel-897eefee2eb73ec6c119a0ca357d7b4a3e92c5ef.tar.gz
kernel-897eefee2eb73ec6c119a0ca357d7b4a3e92c5ef.zip
netfilter: nft_set_pipapo: prefer kvmalloc for scratch maps
The scratchmap size depends on the number of elements in the set. For huge sets, each scratch map can easily require very large allocations, e.g. for 100k entries each scratch map will require close to 64kbyte of memory. Signed-off-by: Florian Westphal <[email protected]> Reviewed-by: Stefano Brivio <[email protected]> Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions