Skip to contentSkip to conversation

Use of yield() in the kernel

DISCUSSION Marc-Christian Petersen 3 participants 3 messages Oct 15, 2002 – Oct 25, 2002

lore
Share & tools
lore
#0 lore raw

Hi Duncan,

Quoted 8 lines

The semantics of sched_yield() changed in the 2.5 kernel. In the 2.4 series it meant "sleep a little".
The new 2.5 semantics are correct (move to the end of the run queue) but can mean "sleep a lot" under load.

This already bit ext3 transaction batching, c.f. Andrew Morton's

Quoted 1 line

[PATCH] remove the sched_yield from the ext3 fsync path

where did you read this ^^? :)

ciao, Marc