From: dkwo <dkwo@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: Tracking: packages broken on larger pagesize kernels (like rpi5-kernel)
Date: Mon, 13 May 2024 22:08:34 +0200 [thread overview]
Message-ID: <20240513200834.A05BC26302@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-48260@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 643 bytes --]
New comment by dkwo on void-packages repository
https://github.com/void-linux/void-packages/issues/48260#issuecomment-2108707715
Comment:
For zig, we may consider this patch to mem.zig:
```
pub const page_size = switch (builtin.cpu.arch) {
.wasm32, .wasm64 => 64 * 1024,
.aarch64 => switch (builtin.os.tag) {
+ .macos, .ios, .watchos, .tvos, .linux => 16 * 1024,
- .macos, .ios, .watchos, .tvos, => 16 * 1024,
else => 4 * 1024,
},
.sparc64 => 8 * 1024,
else => 4 * 1024,
};
```
I don't know how many aarch64 machines this would break, but at least it could be usable on rpi5 and apple.
prev parent reply other threads:[~2024-05-13 20:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-17 19:34 [ISSUE] " classabbyamp
2024-01-17 21:20 ` dkwo
2024-05-13 20:08 ` dkwo [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240513200834.A05BC26302@inbox.vuxu.org \
--to=dkwo@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).