Date: Fri, 17 Aug 2012 20:15:01 +0000 (UTC) From: Alan Cox <alc@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r239361 - head/sys/mips/mips Message-ID: <201208172015.q7HKF1bt017999@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: alc Date: Fri Aug 17 20:15:01 2012 New Revision: 239361 URL: http://svn.freebsd.org/changeset/base/239361 Log: Eliminate another vestige of page coloring. Modified: head/sys/mips/mips/uma_machdep.c Modified: head/sys/mips/mips/uma_machdep.c ============================================================================== --- head/sys/mips/mips/uma_machdep.c Fri Aug 17 18:20:38 2012 (r239360) +++ head/sys/mips/mips/uma_machdep.c Fri Aug 17 20:15:01 2012 (r239361) @@ -42,7 +42,6 @@ __FBSDID("$FreeBSD$"); void * uma_small_alloc(uma_zone_t zone, int bytes, u_int8_t *flags, int wait) { - static vm_pindex_t color; vm_paddr_t pa; vm_page_t m; int pflags; @@ -56,7 +55,7 @@ uma_small_alloc(uma_zone_t zone, int byt pflags = VM_ALLOC_SYSTEM; for (;;) { - m = pmap_alloc_direct_page(color++, pflags); + m = pmap_alloc_direct_page(0, pflags); if (m == NULL) { if (wait & M_NOWAIT) return (NULL);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208172015.q7HKF1bt017999>