diff options
author | 2023-06-26 16:48:40 +0200 | |
---|---|---|
committer | 2023-06-27 16:06:54 -0400 | |
commit | e2c789cab60a493a72b42cb53eb5fbf96d5f1ae3 (patch) | |
tree | f2c2f042efe62606e30f482a25e60cdefbdbfe23 /scripts/generate_rust_analyzer.py | |
parent | dm integrity: scale down the recalculate buffer if memory allocation fails (diff) | |
download | wireguard-linux-e2c789cab60a493a72b42cb53eb5fbf96d5f1ae3.tar.xz wireguard-linux-e2c789cab60a493a72b42cb53eb5fbf96d5f1ae3.zip |
dm: get rid of GFP_NOIO workarounds for __vmalloc and kvmalloc
In the past, the function __vmalloc didn't respect the GFP flags - it
allocated memory with the provided gfp flags, but it allocated page tables
with GFP_KERNEL. This was fixed in commit 451769ebb7e7 ("mm/vmalloc:
alloc GFP_NO{FS,IO} for vmalloc") so the memalloc_noio_{save,restore}
workaround is no longer needed.
The function kvmalloc didn't like flags different from GFP_KERNEL. This
was fixed in commit a421ef303008 ("mm: allow !GFP_KERNEL allocations
for kvmalloc"), so kvmalloc can now be called with GFP_NOIO.
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions