Re: [PATCH bpf-next] selftests/xsk: fix munmap for hugepage allocated umem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello:

This patch was applied to bpf/bpf-next.git (master)
by Daniel Borkmann <daniel@xxxxxxxxxxxxx>:

On Tue, 18 Apr 2023 16:36:17 +0200 you wrote:
> From: Magnus Karlsson <magnus.karlsson@xxxxxxxxx>
> 
> Fix the unmapping of hugepage allocated umems so that they are
> properly unmapped. The new test referred to in the fixes label,
> introduced a test that allocated a umem that is not a multiple of a 2M
> hugepage size. This is fine for mmap() that rounds the size up the
> nearest multiple of 2M. But munmap() requires the size to be a
> multiple of the hugepage size in order for it to unmap the region. The
> current behaviour of not properly unmapping the umem, was discovered
> when further additions of tests that require hugepages (unaligned mode
> tests only) started failing as the system was running out of
> hugepages.
> 
> [...]

Here is the summary with links:
  - [bpf-next] selftests/xsk: fix munmap for hugepage allocated umem
    https://git.kernel.org/bpf/bpf-next/c/2ddade322925

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux