lkml.org 
[lkml]   [2005]   [Oct]   [17]   [last100]   RSS Feed
Views: [more markup]   [less markup]   [headers]   [forward]  
 
Messages in this thread
/
DateMon, 17 Oct 2005 16:05:09 +0800
Fromliyu <>
Subject[Question] one question about 'current' in scheduler_tick()
Hi, All.

    I found scheduler_tick() use current macro to get task_struct of 
current task.

    I seen scheduler_tick() is called every timer interrupt at most 
time. In this
case, I think scheduler_tick() is in interrupt context (enter kernel by 
interrupt),
So I have a hunch that there have not thread_info which it need in 
kernel stack. But
It seem it can work perfectly.

    I can not understand this. Would any expert like explain clearly for 
it ?

    Thanks in advanced.

-liyu




-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-10-17 06:06    [W:0.116 / U:0.280 seconds]
©2003-2008 Jasper Spaans