diff options
author | 2024-12-16 14:01:13 -0500 | |
---|---|---|
committer | 2025-01-25 20:22:19 -0800 | |
commit | b02fcc082a4ae1675a7f70a017ca4926286271ad (patch) | |
tree | 56fc2cea550b6c123c780e8882a3a0147fc58e25 /mm/memory.c | |
parent | mm/page_idle: constify 'struct bin_attribute' (diff) | |
download | wireguard-linux-b02fcc082a4ae1675a7f70a017ca4926286271ad.tar.xz wireguard-linux-b02fcc082a4ae1675a7f70a017ca4926286271ad.zip |
test_maple_tree: test exhausted upper limit of mtree_alloc_cyclic()
When the upper bound of the search is exhausted, the maple state may be
returned in an error state of -EBUSY. This means maple state needs to be
reset before the second search in mas_alloc_cylic() to ensure the search
happens. This test ensures the issue is not recreated.
Link: https://lkml.kernel.org/r/20241216190113.1226145-3-Liam.Howlett@oracle.com
Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
Reviewed-by: Yang Erkun <yangerkun@huawei.com>
Cc: Christian Brauner <brauner@kernel.org>
Cc: Chuck Lever <chuck.lever@oracle.com> says:
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/memory.c')
0 files changed, 0 insertions, 0 deletions