Incorrect masks used in mi_bitmap_is_claimedx_across
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 64/100
Research direction
Locate mi_bitmap_is_claimedx_across and compare its mask checks with the preceding bitmap functions. Verify that middle fields are compared with mid_mask and the post field with post_mask; done means the correction is validated by the repository's relevant tests.
Written by the indexing model from the issue text.
Description
In mi_bitmap_is_claimedx_across, the middle fields and the post field all compare the field contents against pre_mask. Compared to the preceding functions, it looks like these should be using mid_mask and post_mask, respectively.
I can’t say if this has caused any issues; I've just been reading the code to understand how the atomic operations work.
- Dominant language
- C
- Stars
- 13.4k
- Forks
- 1.2k
- Avg merge
- 4d 45m
- Merged PRs (30d)
- 13
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/mimalloc
-
internal.h中,漏掉了1个定义。 Open
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
Mimalloc arena `mi_heap_malloc_aligned` has a hidden limit on max alignment of 64 KiB per allocation Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
stale
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 4/5 3-5 days Newbie friendliness 55/100
All issues in microsoft/mimalloc
Similar issues
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 60/100
-
Nmap
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
flang:fir-hlfir
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
llvm/llvm-project#225935 ·