summaryrefslogtreecommitdiff
path: root/i386/intel/pmap.c
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2012-07-08 00:31:53 +0000
committerRichard Braun <rbraun@sceen.net>2012-07-08 00:31:53 +0000
commit8d219eab0dcfbdcf464340630d568c4e16d7acbd (patch)
treeaffcb7ed98bf127697f53393e9437bd10ff957a5 /i386/intel/pmap.c
parent27150b21c3366d6b474fe3e69140ecac65ab7ed2 (diff)
Fix slab collection timing
The slab garbage collector uses sched_tick as its time reference, which is increased every seconds, while the interval is expressed in clock ticks. Use the proper time reference instead. * kern/slab.c (kmem_gc_last_tick): Declare as unsigned long. (slab_collect): Use elapsed_ticks instead of sched_tick.
Diffstat (limited to 'i386/intel/pmap.c')
0 files changed, 0 insertions, 0 deletions