Code Review for XXXX-kmem-double-calling-kmem_depot_ws_update-isnt-obvious

Prepared by: (jeffpc) on 2015-May-27 16:12 -0400 EDT
Workspace:/home/jeffpc/illumos/kmem (at c3270879cb2c)
Compare against: HEAD^ (at da26630993dc)
Summary of changes: 28 lines changed: 16 ins; 9 del; 3 mod; 5575 unchg
Patch of changes: XXXX-kmem-double-calling-kmem_depot_ws_update-isnt-obvious.patch
Printable review: XXXX-kmem-double-calling-kmem_depot_ws_update-isnt-obvious.pdf

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/os/kmem.c

XXXX kmem: double-calling kmem_depot_ws_update isn't obvious
While the double-call is documented in a comment, it's not obvious what
exactly it is trying to accomplish.  The easiest way to address this is to
introduce a new function that "zeroes-out" the working set statistics to
force everything to be eligible for reaping.
28 lines changed: 16 ins; 9 del; 3 mod; 5575 unchg

This code review page was prepared using /opt/onbld/bin/webrev. Webrev is maintained by the illumos project. The latest version may be obtained here.