public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* kernel sema implementation question
@ 2004-06-16 15:22 Eugeny S. Mints
  0 siblings, 0 replies; only message in thread
From: Eugeny S. Mints @ 2004-06-16 15:22 UTC (permalink / raw)
  To: linux-kernel

Hi Community!

Could anybody please answer the question about kernel semaphore up() 
routine. I use kernel 2.6.6 on i386 but the question is about arch 
independent part.

Arch dependent up() implementation leads to try_to_wake_up () which 
calls resched_task() if the task been woken up  preempts the current task.

The question is - when the context switch  actually occures?
(resched_task only sets the bit but doesn't switch anything)

Thanks,
		Eugeny


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-06-16 15:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-16 15:22 kernel sema implementation question Eugeny S. Mints

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox