Peter, could you, please, check this change ?
Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
In general I like this but the double setting of OBJ_DEAD does make it harder to detect things like double frees.
Comment Actions
Redo the patch back to the initial variant. Note that there is only one place that calls vm_object_terminate_dead(), so it costs nothing to set OBJ_DEAD flag there and make vm_object_terminate() to expect OBJ_DEAD is already set.
This is cleaner IMO, since both terminate_dead and terminate really not needed.