b13aa964 | 04-Mar-2023 |
Aaron LI <aly@aaronly.me> |
libc: Fix installation of fopencookie.3 man page
Meanwhile, fix the MLINKS error of having odd number of items, which was causing the warning: 'warn: empty MLINK: yp_unbind.3 3' |
d753779f | 09-Jun-2022 |
Matthew Dillon <dillon@apollo.backplane.com> |
libc - Fix bug in recent malloc_usable_size() support
* Add missing unlock in the bigalloc check path
* Fixes miniruby deadlock and other threaded uses of malloc_usable_size() on large memory blo
libc - Fix bug in recent malloc_usable_size() support
* Add missing unlock in the bigalloc check path
* Fixes miniruby deadlock and other threaded uses of malloc_usable_size() on large memory blocks.
show more ...
|
c936cb6f | 19-May-2022 |
Matthew Dillon <dillon@apollo.backplane.com> |
kernel - Implement mlockall() properly
* Implement mlockall()'s MCL_CURRENT, and generalaly reimplement mlockall() using linux-like expectations. This generally means that the system will do a
kernel - Implement mlockall() properly
* Implement mlockall()'s MCL_CURRENT, and generalaly reimplement mlockall() using linux-like expectations. This generally means that the system will do a best-effort to allocate and lock the memory associated with the process's address space.
* Prior semantics which disallowed protection changes on locked memory have been removed. Modern applications assume that protection changes will work on locked memory, even if it would force a fault.
* As with linux, some license is taken and mlockall() will only force fault any copy-on-write flagged anonymous pages at the time of the call. It will not force a copy-on-write operation on unmodified file-backed pages that have been mapped MAP_PRIVATE, but not yet modified (still represent the file's actual content). Nor will it force-fault the parent process's pages when the parent issues a fork() (which forces all anonymous pages in both the parent and child to become copy-on-write).
Such pages can still take a write-fault and be COWd. The resulting newly allocated page will be wired as expected.
Submitted-by: tuxillo Testing-by: tuxillo, dillon
show more ...
|