bitkeeper revision 1.1159.212.96 (4204aff5pQipffND8_37kyj01pfiWQ)

Hand merge changes to schedule.c
  
Signed-off-by: michael.fetterman@cl.cam.ac.uk
This commit is contained in:
mafetter@fleming.research committed 2005-02-05 11:37:25 +00:00
commit 52c1b8b3dc
1 file changed
+7 -7
+7 -7
View File
@@ -373,13 +373,6 @@ void __enter_scheduler(void)
task_slice_t next_slice;
s32 r_time; /* time for new dom to run */
if ( !is_idle_task(current->domain) )
{
LOCK_BIGLOCK(current->domain);
cleanup_writable_pagetable(prev->domain);
UNLOCK_BIGLOCK(current->domain);
}
perfc_incrc(sched_run);
spin_lock_irq(&schedule_data[cpu].schedule_lock);
@@ -429,6 +422,13 @@ void __enter_scheduler(void)
perfc_incrc(sched_ctx);
if ( !is_idle_task(current->domain) )
{
LOCK_BIGLOCK(current->domain);
cleanup_writable_pagetable(prev->domain);
UNLOCK_BIGLOCK(current->domain);
}
#if defined(WAKE_HISTO)
if ( !is_idle_task(next) && next->wokenup ) {
ulong diff = (ulong)(now - next->wokenup);
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.