From 894449cd93a70b82e4c6349b4a39db9744f1d10c Mon Sep 17 00:00:00 2001 From: sos Date: Wed, 14 Jan 2004 21:26:35 +0000 Subject: Use UMA instead of plain malloc for getting ATA request storage. This gives +10% performance on simple tests, so definitly worth it. A few percent more could be had by not using M_ZERO'd alloc's, but we then need to clear fields all over the place to be safe, and that was deemed not worth the trouble (and it makes life dangerous). --- sys/dev/ata/atapi-cam.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/dev/ata/atapi-cam.c') diff --git a/sys/dev/ata/atapi-cam.c b/sys/dev/ata/atapi-cam.c index 5e26c22..d695b47 100644 --- a/sys/dev/ata/atapi-cam.c +++ b/sys/dev/ata/atapi-cam.c @@ -39,6 +39,7 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include #include #include -- cgit v1.1