Skip to content

Commit

Permalink
Eliminate another vestige of page coloring.
Browse files Browse the repository at this point in the history
  • Loading branch information
alcriceedu committed Aug 17, 2012
1 parent a941b72 commit eb095ea
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sys/mips/mips/uma_machdep.c
Expand Up @@ -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;
Expand All @@ -56,7 +55,7 @@ uma_small_alloc(uma_zone_t zone, int bytes, u_int8_t *flags, int wait)
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);
Expand Down

0 comments on commit eb095ea

Please sign in to comment.