Combine two loops in ptrace_vm_entry into one, so that "entry->next" doesn't have to appear.
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Oct 4 2019
Oct 3 2019
Correct an off-by-one error.
Sep 17 2019
Update after r352433 committed changes to vm_map_entry_unlink that were part of this change.
Sep 16 2019
Sep 15 2019
In D20664#472328, @alc wrote:
How does this perform on the microbenchmarks that you've previously used?
Address reviewer comments. Replace another stray 'precessor' with 'predecessor'.
Sep 6 2019
Rewrite comments describing vm_map_lookup_helper.
Sep 4 2019
Discard parts that overlap/conflict with changes applied since this change was proposed.
Extend this change to completely eliminate the 'prev' field from vm_map_entry.
Aug 31 2019
Aug 25 2019
Aug 23 2019
Aug 22 2019
All existing callers guarantee that the page does not have a pre-existing dequeue pending.
Can you add a KASSERT to express that in the callee?
Aug 21 2019
Apply reviewer directives.
Aug 20 2019
Seems plausible.
Aug 17 2019
Simplify the patch.
Apply reviewer suggestions.
Aug 16 2019
Ready for review....
Aug 15 2019
Aug 14 2019
Aug 9 2019
Use howmany in one more place.
Apply reviewer suggestions.
Aug 8 2019
Make associated manpage fixes, including a clumsy attempt to address a savecore issue.
Aug 6 2019
In D20863#459908, @dougm wrote:Without changing the behavior of this patch, add a SW_TRIM flag and a priority field to swdevt. Pass those from sys_swapon to kern_swapon (which does the work formerly done by sys_swapon) to swaponsomething, which creates the swap object.
Without changing the behavior of this patch, add a SW_TRIM flag and a priority field to swdevt. Pass those from sys_swapon to kern_swapon (which does the work formerly done by sys_swapon) to swaponsomething, which creates the swap object.
Aug 3 2019
Update log messages to distinguish cases where trimming is aborted before it gets started. Currently, a stretch of log entries like:
Aug 1 2019
Jul 31 2019
Fix function naming mismatches in KASSERTS. In wire/unwire, make sure to clip after first entry found in transition.
Don't unlock on early exit from map_wire_locked.
Get rid of the remaining uses of vm_map_simplify_entry.
Jul 29 2019
Jul 28 2019
Update after checking in overlapping changes.
Apply reviewer suggestions. Make another style(9) fix.
Jul 27 2019
Jul 26 2019
Use vm_map_try_merge_entries instead of vm_simplify_entry in vm_map_inherit.
In looking for the map entry that includes the page before page 0, use &map->header explicitly instead of using vm_map_lookup_entry.
Jul 25 2019
In one comment, connection -> descriptor.
Jul 24 2019
Jul 23 2019
Consume reviewer suggestions.
Rename vm_map_merge_entries to vm_map_try_merge_entries.
Jul 22 2019
Jul 21 2019
Stop updating blk before it might be freed.
Back out the changes that would launch more that one trim request from a single call to swp_pager_trimswapspace.
If trimming fails after blocks are allocated, free the blocks and reset the trimming cursor.
Don't let the trimmer sleep waiting for a resources. Don't invoke the trimmer while holding an object lock. Do let the trimmer launch as many delete ops as it wants, subject to resource constraints. Don't worry about trimming too little.
Jul 20 2019
Add explanatory comment.
Fix Eflags typo.
Call swapon(2) after trimming, but before closing the trimming fd.
Jul 19 2019
Code formatting and comment changes.
Improve a comment.
Jul 15 2019
Act on reviewer feedback.
Jul 14 2019
Rename a variable. Restore a comment.
Make swapgeom_strategy() handle a BIO_DELETE just like a BIO_WRITE.
Bypass swp_pager_strategy for the BIO_DELETE case and just go to sp->sw_strategy(bp, sp);
Drop all the changes related to wiring and unwiring.