-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Runtime page size detection #20511
base: master
Are you sure you want to change the base?
Runtime page size detection #20511
Commits on Aug 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9a6c72c - Browse repository at this point
Copy the full SHA 9a6c72cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 15fef8c - Browse repository at this point
Copy the full SHA 15fef8cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6144094 - Browse repository at this point
Copy the full SHA 6144094View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4bc2c93 - Browse repository at this point
Copy the full SHA 4bc2c93View commit details -
audit usage of comptime page_size in std (1)
debug.zig heap/PageAllocator.zig mem.zig mem/Allocator.zig
Configuration menu - View commit details
-
Copy full SHA for e6b7398 - Browse repository at this point
Copy the full SHA e6b7398View commit details -
audit usage of comptime page_size in std (2)
heap/general_purpose_allocator.zig
Configuration menu - View commit details
-
Copy full SHA for e28817c - Browse repository at this point
Copy the full SHA e28817cView commit details -
audit usage of comptime page_size in std (3/3)
Thread.zig c.zig dynamic_library.zig heap.zig heap/sbrk_allocator.zig os/plan9.zig packed_int_array.zig posix.zig start.zig
Configuration menu - View commit details
-
Copy full SHA for 3f52399 - Browse repository at this point
Copy the full SHA 3f52399View commit details -
Configuration menu - View commit details
-
Copy full SHA for 91edac2 - Browse repository at this point
Copy the full SHA 91edac2View commit details -
Configuration menu - View commit details
-
Copy full SHA for dadd255 - Browse repository at this point
Copy the full SHA dadd255View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a600a7 - Browse repository at this point
Copy the full SHA 8a600a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7faaf32 - Browse repository at this point
Copy the full SHA 7faaf32View commit details -
Configuration menu - View commit details
-
Copy full SHA for 43994e1 - Browse repository at this point
Copy the full SHA 43994e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9398e16 - Browse repository at this point
Copy the full SHA 9398e16View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae8412c - Browse repository at this point
Copy the full SHA ae8412cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a482c43 - Browse repository at this point
Copy the full SHA a482c43View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f9cc2a - Browse repository at this point
Copy the full SHA 4f9cc2aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3086cc5 - Browse repository at this point
Copy the full SHA 3086cc5View commit details -
Configuration menu - View commit details
-
Copy full SHA for a12a62c - Browse repository at this point
Copy the full SHA a12a62cView commit details
Commits on Aug 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d934a03 - Browse repository at this point
Copy the full SHA d934a03View commit details -
Configuration menu - View commit details
-
Copy full SHA for f0d6c20 - Browse repository at this point
Copy the full SHA f0d6c20View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6df23f3 - Browse repository at this point
Copy the full SHA 6df23f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for df66e0f - Browse repository at this point
Copy the full SHA df66e0fView commit details -
Add 'page_size's for Tier 1/2/3 support targets
Including some variants of these architectures. Excluding Lanai. This information was found primarily through Kconfig and page.h in the Linux source tree. Alternatively, from Wikipedia pages or Zig's own libc headers.
Configuration menu - View commit details
-
Copy full SHA for f703843 - Browse repository at this point
Copy the full SHA f703843View commit details -
Configuration menu - View commit details
-
Copy full SHA for a3d6e80 - Browse repository at this point
Copy the full SHA a3d6e80View commit details -
Complete 'page_size_cap's for Tier 1/2/3 targets
I used the same sources as before. I accept any non-huge page size up to 256 KiB. I make an exception for Hexagon, which references 1 MiB pages in its Linux Kconfig.
Configuration menu - View commit details
-
Copy full SHA for 0abcf0a - Browse repository at this point
Copy the full SHA 0abcf0aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 93a902f - Browse repository at this point
Copy the full SHA 93a902fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 45b403f - Browse repository at this point
Copy the full SHA 45b403fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 19b5263 - Browse repository at this point
Copy the full SHA 19b5263View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b71e50 - Browse repository at this point
Copy the full SHA 8b71e50View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b7c653 - Browse repository at this point
Copy the full SHA 6b7c653View commit details -
Configuration menu - View commit details
-
Copy full SHA for fe14be0 - Browse repository at this point
Copy the full SHA fe14be0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c69b04 - Browse repository at this point
Copy the full SHA 6c69b04View commit details -
Configuration menu - View commit details
-
Copy full SHA for e69d50a - Browse repository at this point
Copy the full SHA e69d50aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 149dc4f - Browse repository at this point
Copy the full SHA 149dc4fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8631308 - Browse repository at this point
Copy the full SHA 8631308View commit details -
Configuration menu - View commit details
-
Copy full SHA for b92a295 - Browse repository at this point
Copy the full SHA b92a295View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3611c50 - Browse repository at this point
Copy the full SHA 3611c50View commit details -
Configuration menu - View commit details
-
Copy full SHA for d111a0d - Browse repository at this point
Copy the full SHA d111a0dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 699574f - Browse repository at this point
Copy the full SHA 699574fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 67a35c4 - Browse repository at this point
Copy the full SHA 67a35c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for c05d576 - Browse repository at this point
Copy the full SHA c05d576View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ac8fdf - Browse repository at this point
Copy the full SHA 3ac8fdfView commit details -
Configuration menu - View commit details
-
Copy full SHA for e881e6f - Browse repository at this point
Copy the full SHA e881e6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for d1b238b - Browse repository at this point
Copy the full SHA d1b238bView commit details -
Configuration menu - View commit details
-
Copy full SHA for de62bae - Browse repository at this point
Copy the full SHA de62baeView commit details -
Configuration menu - View commit details
-
Copy full SHA for f01270b - Browse repository at this point
Copy the full SHA f01270bView commit details -
Configuration menu - View commit details
-
Copy full SHA for a808666 - Browse repository at this point
Copy the full SHA a808666View commit details -
Configuration menu - View commit details
-
Copy full SHA for 31842ad - Browse repository at this point
Copy the full SHA 31842adView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a202dc - Browse repository at this point
Copy the full SHA 4a202dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 33cc3bb - Browse repository at this point
Copy the full SHA 33cc3bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8215cba - Browse repository at this point
Copy the full SHA 8215cbaView commit details -
page size: remove redundant libc check on MacOS
As explained in Target.zig: /// On Darwin, we always link libSystem which contains libc.
Configuration menu - View commit details
-
Copy full SHA for 7ffb76e - Browse repository at this point
Copy the full SHA 7ffb76eView commit details -
Configuration menu - View commit details
-
Copy full SHA for db02ad3 - Browse repository at this point
Copy the full SHA db02ad3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4063002 - Browse repository at this point
Copy the full SHA 4063002View commit details
Commits on Aug 13, 2024
-
page size: remove windows version limit
First of all, this check is unnecessary for all formally supported users. Second of all, this check is too strict anyways, since these values of page_size apply to versions of Windows before XP, and maybe even before NT.
Configuration menu - View commit details
-
Copy full SHA for 273215d - Browse repository at this point
Copy the full SHA 273215dView commit details
Commits on Aug 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 89cbb91 - Browse repository at this point
Copy the full SHA 89cbb91View commit details -
Configuration menu - View commit details
-
Copy full SHA for f5000bf - Browse repository at this point
Copy the full SHA f5000bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for a986a71 - Browse repository at this point
Copy the full SHA a986a71View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b6f064 - Browse repository at this point
Copy the full SHA 7b6f064View commit details -
Configuration menu - View commit details
-
Copy full SHA for 36ecd39 - Browse repository at this point
Copy the full SHA 36ecd39View commit details -
Configuration menu - View commit details
-
Copy full SHA for 39083d4 - Browse repository at this point
Copy the full SHA 39083d4View commit details
Commits on Aug 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d7a6a6d - Browse repository at this point
Copy the full SHA d7a6a6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c54dfb - Browse repository at this point
Copy the full SHA 6c54dfbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 05bab5b - Browse repository at this point
Copy the full SHA 05bab5bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 682088e - Browse repository at this point
Copy the full SHA 682088eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a9c813 - Browse repository at this point
Copy the full SHA 8a9c813View commit details -
Configuration menu - View commit details
-
Copy full SHA for 901fd56 - Browse repository at this point
Copy the full SHA 901fd56View commit details -
Configuration menu - View commit details
-
Copy full SHA for 174ea97 - Browse repository at this point
Copy the full SHA 174ea97View commit details -
Configuration menu - View commit details
-
Copy full SHA for 40ca175 - Browse repository at this point
Copy the full SHA 40ca175View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b22cd8 - Browse repository at this point
Copy the full SHA 0b22cd8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0bfd338 - Browse repository at this point
Copy the full SHA 0bfd338View commit details -
Configuration menu - View commit details
-
Copy full SHA for 331f683 - Browse repository at this point
Copy the full SHA 331f683View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d9fd9b - Browse repository at this point
Copy the full SHA 0d9fd9bView commit details
Commits on Aug 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for eea9f3b - Browse repository at this point
Copy the full SHA eea9f3bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 140ed95 - Browse repository at this point
Copy the full SHA 140ed95View commit details -
remove runtime check on guaranteed page size
This served as a nice backup check to inform the user if their page size was unexpected, but it will take extra work to maintain.
Configuration menu - View commit details
-
Copy full SHA for 6d16164 - Browse repository at this point
Copy the full SHA 6d16164View commit details -
Configuration menu - View commit details
-
Copy full SHA for d59d1e9 - Browse repository at this point
Copy the full SHA d59d1e9View commit details
Commits on Aug 18, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 297bc81 - Browse repository at this point
Copy the full SHA 297bc81View commit details -
Configuration menu - View commit details
-
Copy full SHA for 949ca0c - Browse repository at this point
Copy the full SHA 949ca0cView commit details -
Configuration menu - View commit details
-
Copy full SHA for d6af44a - Browse repository at this point
Copy the full SHA d6af44aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 05a2f74 - Browse repository at this point
Copy the full SHA 05a2f74View commit details -
These page sizes are mostly empty for now because I cannot find a good source for these numbers.
Configuration menu - View commit details
-
Copy full SHA for a35632c - Browse repository at this point
Copy the full SHA a35632cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 53ccb57 - Browse repository at this point
Copy the full SHA 53ccb57View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3133d5a - Browse repository at this point
Copy the full SHA 3133d5aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ecaa8e - Browse repository at this point
Copy the full SHA 1ecaa8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 26c87c5 - Browse repository at this point
Copy the full SHA 26c87c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c4a7aa - Browse repository at this point
Copy the full SHA 5c4a7aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for e86a30b - Browse repository at this point
Copy the full SHA e86a30bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4918357 - Browse repository at this point
Copy the full SHA 4918357View commit details -
This allows the queryPageSize smoke test to pass zig test -fwasmtime. This way CI passes for me, but notifies x86 users of new OS'es of the missing _SC declaration.
Configuration menu - View commit details
-
Copy full SHA for 37aca94 - Browse repository at this point
Copy the full SHA 37aca94View commit details -
Configuration menu - View commit details
-
Copy full SHA for a69a5db - Browse repository at this point
Copy the full SHA a69a5dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for d59eab1 - Browse repository at this point
Copy the full SHA d59eab1View commit details -
Configuration menu - View commit details
-
Copy full SHA for c0eeb84 - Browse repository at this point
Copy the full SHA c0eeb84View commit details -
Configuration menu - View commit details
-
Copy full SHA for c593c54 - Browse repository at this point
Copy the full SHA c593c54View commit details -
replace unnecessary min_page_size with 4096
Just in case someone wants to use fifo on mips-freestanding.
Configuration menu - View commit details
-
Copy full SHA for 178c859 - Browse repository at this point
Copy the full SHA 178c859View commit details
Commits on Aug 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d184a0b - Browse repository at this point
Copy the full SHA d184a0bView commit details
Commits on Aug 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c91c0ef - Browse repository at this point
Copy the full SHA c91c0efView commit details -
Configuration menu - View commit details
-
Copy full SHA for b7a9206 - Browse repository at this point
Copy the full SHA b7a9206View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e0e98d - Browse repository at this point
Copy the full SHA 5e0e98dView commit details -
Configuration menu - View commit details
-
Copy full SHA for cffb587 - Browse repository at this point
Copy the full SHA cffb587View commit details -
Configuration menu - View commit details
-
Copy full SHA for 934504a - Browse repository at this point
Copy the full SHA 934504aView commit details -
Configuration menu - View commit details
-
Copy full SHA for cc7e22f - Browse repository at this point
Copy the full SHA cc7e22fView commit details
Commits on Aug 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b9f68a5 - Browse repository at this point
Copy the full SHA b9f68a5View commit details
Commits on Aug 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ba4d716 - Browse repository at this point
Copy the full SHA ba4d716View commit details -
Configuration menu - View commit details
-
Copy full SHA for 94e70e6 - Browse repository at this point
Copy the full SHA 94e70e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0304565 - Browse repository at this point
Copy the full SHA 0304565View commit details -
page size: add wasm-freestanding
Doctests seem to depend on this behavior, and that is valid.
Configuration menu - View commit details
-
Copy full SHA for 2b3ffad - Browse repository at this point
Copy the full SHA 2b3ffadView commit details
Commits on Aug 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for cec9e5a - Browse repository at this point
Copy the full SHA cec9e5aView commit details -
Configuration menu - View commit details
-
Copy full SHA for f3c997c - Browse repository at this point
Copy the full SHA f3c997cView commit details -
Configuration menu - View commit details
-
Copy full SHA for dd7227d - Browse repository at this point
Copy the full SHA dd7227dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a9eeea9 - Browse repository at this point
Copy the full SHA a9eeea9View commit details -
Configuration menu - View commit details
-
Copy full SHA for be36505 - Browse repository at this point
Copy the full SHA be36505View commit details
Commits on Aug 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a8b0073 - Browse repository at this point
Copy the full SHA a8b0073View commit details
Commits on Aug 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6695d1c - Browse repository at this point
Copy the full SHA 6695d1cView commit details
Commits on Aug 27, 2024
-
page size: remove wasm from query
There really is no query for wasm (or I don't care to add it until it's necessary). In the meantime, the test that checks for an existing method to query page sizes is not useful for wasm, so I add a test skip there.
Configuration menu - View commit details
-
Copy full SHA for 98d13e6 - Browse repository at this point
Copy the full SHA 98d13e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for d72ab31 - Browse repository at this point
Copy the full SHA d72ab31View commit details -
Configuration menu - View commit details
-
Copy full SHA for 05d4fff - Browse repository at this point
Copy the full SHA 05d4fffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 321a923 - Browse repository at this point
Copy the full SHA 321a923View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c2eea1 - Browse repository at this point
Copy the full SHA 4c2eea1View commit details -
Configuration menu - View commit details
-
Copy full SHA for b014b05 - Browse repository at this point
Copy the full SHA b014b05View commit details -
Configuration menu - View commit details
-
Copy full SHA for 45307b9 - Browse repository at this point
Copy the full SHA 45307b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4d6e27 - Browse repository at this point
Copy the full SHA e4d6e27View commit details