Skip to content

New buddy allocator tests + bug fixes#26

Open
shah-niam wants to merge 5 commits intomainfrom
add-tests
Open

New buddy allocator tests + bug fixes#26
shah-niam wants to merge 5 commits intomainfrom
add-tests

Conversation

@shah-niam
Copy link

Added many tests for buddy allocator and a few tests for data types in kernel + fixed bugs caught by tests

Testing file in kernel + buddy.rs are relevant for these changes

Niam Shah added 5 commits February 2, 2026 01:56
…nding support for running via

'cargo test' and a detailed run through to ensure testing is thorough and accurate as well as fixing runtime error. Full coverage of all data types
…led. Want confirmation that failing tests are accurately testing expected behavior before fixing.
… big were being accepted and another where many allocate functions were not releasing lock if they ran out of memory mid-function
@shah-niam shah-niam changed the title New Buddy Allocator Tests + Bug Fixes New buddy allocator tests + bug fixes Feb 17, 2026
@Akshay-Srivatsan
Copy link
Contributor

Could you fix the warnings that popped up and rebase this onto Greg's changes from #28?

Also I see a few places this PR comments out lines of code; could you either delete those lines (if they're not needed) or leave a comment explaining why they're commented out?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants