summaryrefslogtreecommitdiffstats
path: root/sys/ia64
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2011-12-15 05:07:16 +0000
committeralc <alc@FreeBSD.org>2011-12-15 05:07:16 +0000
commitd368df9b98614b31eaf206bcb72977d04898e546 (patch)
tree474b914dfcfdbb58999549098e911facca00bfca /sys/ia64
parenta25ab95a036223f5cc7a802a70f86e10547c70d9 (diff)
downloadFreeBSD-src-d368df9b98614b31eaf206bcb72977d04898e546.zip
FreeBSD-src-d368df9b98614b31eaf206bcb72977d04898e546.tar.gz
Eliminate vestiges of page coloring.
Diffstat (limited to 'sys/ia64')
-rw-r--r--sys/ia64/ia64/uma_machdep.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/ia64/ia64/uma_machdep.c b/sys/ia64/ia64/uma_machdep.c
index c8084ba..37353ff 100644
--- a/sys/ia64/ia64/uma_machdep.c
+++ b/sys/ia64/ia64/uma_machdep.c
@@ -41,7 +41,6 @@ __FBSDID("$FreeBSD$");
void *
uma_small_alloc(uma_zone_t zone, int bytes, u_int8_t *flags, int wait)
{
- static vm_pindex_t color;
void *va;
vm_page_t m;
int pflags;
@@ -55,7 +54,7 @@ uma_small_alloc(uma_zone_t zone, int bytes, u_int8_t *flags, int wait)
pflags |= VM_ALLOC_ZERO;
for (;;) {
- m = vm_page_alloc(NULL, color++, pflags | VM_ALLOC_NOOBJ);
+ m = vm_page_alloc(NULL, 0, pflags | VM_ALLOC_NOOBJ);
if (m == NULL) {
if (wait & M_NOWAIT)
return (NULL);
OpenPOWER on IntegriCloud