diff options
| author | Alexei Starovoitov <[email protected]> | 2025-04-01 03:23:36 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2025-04-02 16:34:31 +0000 |
| commit | 2985dae1e521ee1464130902415f5863ea05dc34 (patch) | |
| tree | aeb14046f01895dd65d8700ae5ef80a27ffa3561 /lib/crypto/mpi/mpi-add.c | |
| parent | Merge tag 'v6.15-p2' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert... (diff) | |
| download | kernel-2985dae1e521ee1464130902415f5863ea05dc34.tar.gz kernel-2985dae1e521ee1464130902415f5863ea05dc34.zip | |
mm/page_alloc: Fix try_alloc_pages
Fix an obvious bug. try_alloc_pages() should set_page_refcounted.
[ Not so obvious: it was probably correct at the time it was written but
was at some point then rebased on top of v6.14-rc1.
And at that point there was a semantic conflict with commit
efabfe1420f5 ("mm/page_alloc: move set_page_refcounted() to callers
of get_page_from_freelist()") and became buggy.
- Linus ]
Fixes: 97769a53f117 ("mm, bpf: Introduce try_alloc_pages() for opportunistic page allocation")
Signed-off-by: Alexei Starovoitov <[email protected]>
Reviewed-by: Shakeel Butt <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Acked-by: Vlastimil BAbka <[email protected]>
Reviewed-by: Harry Yoo <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions
