]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Use a tighter check to see if a resource allocation request is for a
authorJohn Baldwin <jhb@FreeBSD.org>
Wed, 25 Apr 2007 16:22:18 +0000 (16:22 +0000)
committerJohn Baldwin <jhb@FreeBSD.org>
Wed, 25 Apr 2007 16:22:18 +0000 (16:22 +0000)
commit147c0ad0a156324aa15a3a12127b7a41efea9fa3
tree52ca98fd95321cb39411fa006ac4898529d4669a
parent5e323541db39828199c787c7d4be1393e8a8dfa7
Use a tighter check to see if a resource allocation request is for a
specific request and thus should first try to be allocated from the
sys_resource pool.  This avoids using the sys_resource pool for wildcard
requests that have bounded ranges coming from cbb(4) and Host-PCI pcib(4)
drivers.

Tested by: Andrea Bittau <a.bittau of cs.ucl.ac.uk fame>
Sleuthing by: Andrea Bittau as well
sys/dev/acpica/acpi.c