Uh oh!
There was an error while loading. Please reload this page.
runtime page size detection + rework GeneralPurposeAllocator to reduce active mapping count + Allocator VTable API update - #20511
Conversation
cn-cn-cn
commented
Jul 12, 2024
Hi, thanks so much for putting in the work to make runtime page size a reality :) These |
@notcancername Inlining: Else: |
cn-cn-cn
commented
Jul 12, 2024
Thanks, I am in favor of this. I believe you may be able to achieve this by assigning to a
Yes, |
archbirdplus
commented
Jul 15, 2024
Local tests now pass. I just can't figure out how to test on Windows. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
archbirdplus
commented
Aug 9, 2024
I'd like to re-run CI. I cannot get local tests to pass, but I would like to see how the CI runner behaves. There seems to be another issue besides page size that prevents me from running tests myself. Whether I use this PR or just edit the Do these errors suggest anything in particular? Maybe I didn't replicate the CI script closely enough? |
alexrp
commented
Aug 10, 2024
I think you might need to rebase this on master for CI to run? 🤔 |
archbirdplus
commented
Aug 11, 2024
Alright, rebased again. Though what I understood was that CI needed to be invoked by a Zig member. Hopefully I can fix up the stylistic issues soon. |
rootbeer
commented
Aug 11, 2024
For the wasm failure in your local run of the tests, I see:
I suspect this is from using a too-recent wasmtime, and downgrading to v10.0.2 (which is the version CI runs) will fix it. See #20747. |
linusg
commented
Feb 7, 2025
This broke the UEFI allocators |
alexrp
commented
Feb 17, 2025
See ziglang/zig#20511 . Signed-off-by: Eric Joldasov <bratishkaerik@landless-city.net>
- upgrade clap from 0.9.1 to 0.10.0 - positional arguments are now a tuple instead of a list - tab characters aren't cool in multiline literals: ziglang/zig-spec#38 it doesn't say this but ...OR string literals!! - our tests and clap param defintions are impacted by this. The examples written in the tests are now a bit harder to understand at a glance - `std.mem.page_size` removed: ziglang/zig#20511 (comment) - tl;dr: page_size is runtime known, not a comptime value
release notes
This PR implements runtime page sizes. Closes#4082. Closes#11308. Closes#16331. Closes#20038. Closes#20714.
Notable changes:
mem.page_size.heap.min_page_size,heap.max_page_size,heap.pageSize().options.min_page_size,options.max_page_size,options.queryPageSizeFn.Not implemented:
align_pagealignment value. Usealign(std.heap.min_page_size)on your pointers instead.