Fixed page coloring bug
authorAndrew Waterman <waterman@r53.millennium.berkeley.edu>
Mon, 2 Nov 2009 10:50:21 +0000 (02:50 -0800)
committerAndrew Waterman <waterman@r53.millennium.berkeley.edu>
Mon, 2 Nov 2009 10:50:21 +0000 (02:50 -0800)
commite9f3c7d61cda2bec4b570f9356a32765cef2cad2
tree3a02aa490a54e8f0eed0cab24d64d73c24b8696b
parente6c8762021e8bfce5f1c856519d61d3ba45e1751
Fixed page coloring bug

The round-robin allocator was always using next_color = prev_color,
rather than next_color = (prev_color + 1) % num_colors.
kern/src/page_alloc.c