!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

954 Members
For people hacking on the Nix package manager itself204 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
21 Oct 2025
@niksnut:matrix.orgniksnutso it has to touch at least 1 byte every 4096 bytes21:07:52
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Yeah that was the overhead. A loop over all the pages21:08:28
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)
   1.23 │       lea    -0x10000(%rsp),%r11
   0.23 │ 15:   sub    $0x1000,%rsp
   1.01 │       orq    $0x0,(%rsp)
  59.12 │       cmp    %r11,%rsp
   0.27 │     ↑ jne    15
21:08:42
@niksnut:matrix.orgniksnutright, that's to avoid a segfault if you have guard pages enabled (which I think is the default)21:09:13
@niksnut:matrix.orgniksnutI would expect the overhead for that loop to be pretty trivial though21:09:31
@niksnut:matrix.orgniksnutin the case where the pages are present21:09:52
22 Oct 2025
@0xcafca:matrix.org0xcafca changed their profile picture.10:21:53

Show newer messages


Back to Room ListRoom Version: 6