-
Notifications
You must be signed in to change notification settings - Fork 82
Add 96B and 192B for SLAB #307
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
build_prs #307 |
|
Job is started, see https://github.com/vivoblueos/kernel/actions/runs/21397165264. |
|
❌ Job failed. Failed jobs: build_and_check_boards (failure), see https://github.com/vivoblueos/kernel/actions/runs/21397165264. |
c422f06 to
6ed01ab
Compare
|
build_prs #307 |
|
Job is started, see https://github.com/vivoblueos/kernel/actions/runs/21423279247. |
|
❌ Job failed. Failed jobs: build_and_check_boards (failure), see https://github.com/vivoblueos/kernel/actions/runs/21423279247. |
6ed01ab to
5c3dd21
Compare
|
build_prs |
|
Job is started, see https://github.com/vivoblueos/kernel/actions/runs/21423964116. |
|
❌ Job failed. Failed jobs: build_and_check_boards (failure), see https://github.com/vivoblueos/kernel/actions/runs/21423964116. |
5c3dd21 to
40ac2f5
Compare
|
build_prs |
|
Job is started, see https://github.com/vivoblueos/kernel/actions/runs/21424293317. |
|
✅ All jobs completed successfully, see https://github.com/vivoblueos/kernel/actions/runs/21424293317. |
| let size_log2_ceil = core::cmp::max(Self::log2_ceil(size), Self::log2_ceil(align)); | ||
| if size_log2_ceil <= MAX_SLAB_SHIFT { | ||
| size_log2_ceil.saturating_sub(MIN_SLAB_SHIFT) | ||
| let index = Self::SLAB_SIZES.partition_point(|index| index < &core::cmp::max(size, align)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
consider about Layout { size: 80, align: 64 }, cannot malloc from 96 block
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
40ac2f5 to
1681d8b
Compare
|
build_prs |
|
Job is started, see https://github.com/vivoblueos/kernel/actions/runs/21432054472. |
|
✅ All jobs completed successfully, see https://github.com/vivoblueos/kernel/actions/runs/21432054472. |
No description provided.