Repository navigation
0.18.0 --- openkal 0.20: transfers at an offset, openkal.region, a program's and a unit's memory, a supervised limit - #36
Merged
Merged
Conversation
…ogram's and a unit's memory, a supervised limit - kal_fs_read_at and kal_fs_write_at are pread and pwrite. - openkal.region over mmap: KAL_REGION_PROP_OVERCOMMIT; a part's backing returned by a fresh fixed anonymous mapping (it then reads as zero), discarded by madvise(MADV_FREE). - KAL_PINFO_MEMORY is the footprint (proc_pid_rusage RUSAGE_INFO_V4: ri_phys_footprint, ri_lifetime_max_phys_footprint); kal_process_wait waits without collecting (waitid WNOWAIT) and kal_process_close collects, so an ended program's peak remains readable while its handle is held. - kal_process_job_usage sums the footprints of the process group's members (proc_listpgrppids). kal_process_job_limit is supervised (500/200/100 ms) and ends the group with SIGKILL; kal_process_wait reports KAL_TERMINATED_LIMIT. Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
…rogram's group is not reported reliably once it has ended Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements openkal 0.20 (mcpplibs/openkal#58). See the commit message and README 'What 0.18 adds'.