<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content=text/html;charset=iso-8859-1>
<META content="MSHTML 6.00.6000.16674" name=GENERATOR></HEAD>
<BODY id=MailContainerBody 
style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-TOP: 15px" 
bgColor=#ffffff leftMargin=0 topMargin=0 CanvasTabStop="true" 
name="Compose message area">
<DIV><FONT face=Arial size=2>&nbsp;I am trying to understand exit points from 
kernel mode to user mode. I believe this happens when the scheduler is invoked, 
there are interrupts, exceptions, or the kernel is executing system call in 
process context. 
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Is there a single function which is called in the 
ppc kernel when the mode is switched back to user mode ? </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I have linux 2.6.16.21 kernel running on&nbsp;a 
4-way p550 IBM pSeries with POWER5 processors. Everytime before a process begins 
executing in user mode I want to&nbsp;execute a special SMT thread priority 
assembler instruction. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>What code files should I be looking at, is there 
one place this can be done? Any tips are 
appreciated.</FONT></DIV></FONT></DIV></BODY></HTML>