Code Review for use-NULL-setpagesize-segop-as-a-shorthand-for-ENOTSUP

Prepared by: (jeffpc) on 2015-May-08 18:04 -0400 EDT
Workspace:/home/jeffpc/illumos/xhat (at 90dd8e2113a4)
Compare against: HEAD^ (at 9c7ebe49bb23)
Summary of changes: 41 lines changed: 1 ins; 39 del; 1 mod; 10699 unchg
Patch of changes: use-NULL-setpagesize-segop-as-a-shorthand-for-ENOTSUP.patch
Printable review: use-NULL-setpagesize-segop-as-a-shorthand-for-ENOTSUP.pdf

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

use NULL setpagesize segop as a shorthand for ENOTSUP
Instead of forcing every segment driver to implement a dummp function to
return (hopefully) ENOTSUP, handle NULL setpagesize segop function pointer
as "return ENOTSUP" shorthand.
10 lines changed: 0 ins; 10 del; 0 mod; 4072 unchg

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

use NULL setpagesize segop as a shorthand for ENOTSUP
Instead of forcing every segment driver to implement a dummp function to
return (hopefully) ENOTSUP, handle NULL setpagesize segop function pointer
as "return ENOTSUP" shorthand.
1 line changed: 0 ins; 1 del; 0 mod; 329 unchg

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

use NULL setpagesize segop as a shorthand for ENOTSUP
Instead of forcing every segment driver to implement a dummp function to
return (hopefully) ENOTSUP, handle NULL setpagesize segop function pointer
as "return ENOTSUP" shorthand.
9 lines changed: 0 ins; 9 del; 0 mod; 3038 unchg

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

use NULL setpagesize segop as a shorthand for ENOTSUP
Instead of forcing every segment driver to implement a dummp function to
return (hopefully) ENOTSUP, handle NULL setpagesize segop function pointer
as "return ENOTSUP" shorthand.
2 lines changed: 1 ins; 0 del; 1 mod; 2047 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/i86xpv/vm/seg_mf.c

use NULL setpagesize segop as a shorthand for ENOTSUP
Instead of forcing every segment driver to implement a dummp function to
return (hopefully) ENOTSUP, handle NULL setpagesize segop function pointer
as "return ENOTSUP" shorthand.
8 lines changed: 0 ins; 8 del; 0 mod; 759 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/sparc/v9/vm/seg_nf.c

use NULL setpagesize segop as a shorthand for ENOTSUP
Instead of forcing every segment driver to implement a dummp function to
return (hopefully) ENOTSUP, handle NULL setpagesize segop function pointer
as "return ENOTSUP" shorthand.
11 lines changed: 0 ins; 11 del; 0 mod; 454 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.