24b39bc287
Motivation: If caches are disabled it does not make sense to schedule a task that will free up memory consumed by the caches. Modifications: Do not schedule if caches are disabled. Result: Less overhead.