]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Eliminate the special case handling of OBJT_DEVICE objects in
authoralc <alc@FreeBSD.org>
Sun, 8 Jul 2007 19:42:52 +0000 (19:42 +0000)
committeralc <alc@FreeBSD.org>
Sun, 8 Jul 2007 19:42:52 +0000 (19:42 +0000)
commitf58d26b2913d4b64197dc60e9d6eec637c119a1b
tree541719a5a41ccbb7f757f6ecb8530ad1cc8877b1
parent62972d9b6ee22bbc2faaa50af6f7a0e18bda5470
Eliminate the special case handling of OBJT_DEVICE objects in
vm_fault_additional_pages() that was introduced in revision 1.47.  Then
as now, it is unnecessary because dev_pager_haspage() returns zero for
both the number of pages to read ahead and read behind, producing the
same exact behavior by vm_fault_additional_pages() as the special case
handling.

Approved by: re (rwatson)
sys/vm/vm_fault.c