-
Notifications
You must be signed in to change notification settings - Fork 28
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
Update to Mirage 4.5.0 #192
Conversation
With mirage/ocaml-solo5#135 using |
Will be included in #178 . |
package "mirage-logs"; | ||
package "mirage-xen" ~min:"8.0.0"; | ||
package ~min:"6.4.0" "dns-client"; | ||
package "dns-client" ~min:"6.4.0"; | ||
package "pf-qubes"; |
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.
are these argument reorderings needed?
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.
I don't think it needed, this was just cosmetic to keep packages aligned.
Sorry I closed while you are reviewing it, I'll add your changes in #178. |
@palainp thanks. no worries. :) |
Dear devs,
This PR wants to update to recent mirage API. In doing so it appears that
Memory.quick_stat()
reports wrong values (I haven't investigated why yet, and maybe it was present before, but now it goes lower than the limits inEDIT: There was a bad computation inmemory_pressure.ml
ocaml-solo5
again):With wrong values, the firewall starts to drop packets (Memory_critical
being returned byMemory_pressure.status()
). So I've replacedMemory.quick_stat()
withMemory.stat()
, but this is at the cost of going through the whole heap andMemory_pressure.status
calls it for each packets. But I'd rather the firewall be slower than unusable :)Going further will need to dive more intoocaml-solo5/nolibc/malloc.i
as the bug seems to come from there but the code is really hard :'(Best,