FINISH_TASK_SWITCH

Section: ()
Updated: 06 October 2005
Index Return to Main Contents

 

NAME

finish_task_switch - clean up after a task-switch  

SYNOPSIS

"SYNOPSIS"

void finish_task_switch (task_t * prev);  

ARGUMENTS

prev
the thread we just switched away from.
 

DESCRIPTION

We enter this with the runqueue still locked, and finish_arch_switch will unlock it along with doing any other architecture-specific cleanup actions.

Note that we may have delayed dropping an mm in context_switch. If so, we finish that here outside of the runqueue lock. (Doing it with the lock held can cause deadlocks; see schedule for details.)


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 05:30:35 GMT, October 06, 2005