Skip to content

New buddy allocator tests + bug fixes#26

Merged
Akshay-Srivatsan merged 16 commits intomainfrom
add-tests
Apr 20, 2026
Merged

New buddy allocator tests + bug fixes#26
Akshay-Srivatsan merged 16 commits intomainfrom
add-tests

Conversation

@shah-niam
Copy link
Copy Markdown
Contributor

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

@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
Copy Markdown
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?

Niam Shah added 5 commits April 10, 2026 15:35
…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
Copy link
Copy Markdown
Contributor Author

shah-niam commented Apr 16, 2026

Everything passed, warnings fixed (annotations only there because locally i am on rust 1.96; they reference pieces already present in main), commented code deleted

edit: still one thing to fix; in progress

@shah-niam
Copy link
Copy Markdown
Contributor Author

Everything fixed, can be merged

@Akshay-Srivatsan Akshay-Srivatsan merged commit aea6acb into main Apr 20, 2026
6 checks passed
@Akshay-Srivatsan Akshay-Srivatsan deleted the add-tests branch April 20, 2026 18:44
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