]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r268780
authortruckman <truckman@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 1 Aug 2014 15:04:46 +0000 (15:04 +0000)
committertruckman <truckman@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 1 Aug 2014 15:04:46 +0000 (15:04 +0000)
commit180f931a42be72f6ddbdd770d85431ad0b5c91fe
tree687d0a3e70bb1a09bf848247347b823622d11840
parenta08806e8ceda2305792b029ca56b30d77d294527
MFC r268780

Nuke the never-used RF_TIMESHARE feature, reducing the complexity of the
code.  The consensus on arch@ is that this feature might have been useful
in the distant past, but is now just unnecessary bloat.

The int_rman_activate_resource() and int_rman_deactivate_resource()
functions become trivial, so manually inline them.

The special deferred handling of RF_ACTIVE is no longer needed in
reserve_resource_bound(), so eliminate the associated code at the
end of the function.

These changes reduce the object file size by more than 500 bytes on i386.

Update the rman.9 man page to reflect the removal of the RF_TIMESHARE
feature.

git-svn-id: svn://svn.freebsd.org/base/stable/10@269383 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
share/man/man9/rman.9
sys/kern/subr_rman.c
sys/sys/rman.h