User Details
- User Since
- May 16 2014, 7:35 PM (520 w, 6 d)
Yesterday
Latest version after the rounds of bugfixes
Wed, May 8
Reduce scope for object1 and color variables.
Assign OBJT_DEAD type to object before deallocating it on the path after failing ctr, since we do not want to have the device dtr called.
Use vm_object_deallocate() instead of _terminate() on cleanup path.
Defer OBJ_COLORED setting after ctr provides the color.
Remove refcount.h
Remove invalid assert about zero writemappings of the object for the new vnode (since node might be old).
Add asserts that we do not underflow writemapping counters for swap pagers.
Tue, May 7
Check for object == NULL
Use vm_object_deallocate()
Handle first batch of comments.
Mon, May 6
Sat, May 4
Fri, May 3
As I noted, I am not sure that vm_phys_fictitious_reg() KPI is prepared for such use. IMO it needs to be enhanced to check if the registering range is already backed by some vm_page_t storage and not create an overlap. Right now there are only minor piece of such care, for the case where the range intersects with vm_page_array[]. Otherwise the result is UB both for memattr use, and for consequent RBTREE manipulations.
Mentioning the supposed scope of use for flag in the review would be best. BTW if it is internal to vm allocators, why not call it M_VM_NOFREE?
Thu, May 2
u_long
Wed, May 1
Why not M_NOFREE?
Please upload patches with full context.
Tue, Apr 30
Can you upload the full context for the diff?
Mon, Apr 29
Sun, Apr 28
Grammar updates.