Skip to contentSkip to conversation

scheduler problems

DISCUSSION Anjali Kulkarni 1 participant 1 message Jun 13, 2002

lore
Share & tools
lore
#0 lore raw
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

[...] It is due to the fact that the schedule() function does

not

Quoted 8 lines
Quoted 8 lines

find

Quoted 3 lines
Quoted 1 line

the 'current' process in the runqueue. [...]

a crash in line 384 means that the runqueue got corrupted by

something,

Quoted 1 line

most likely caused by buggy kernel code outside of the scheduler.

Right, I thought of that, but how is it that it gets corrupt at

exactly

Quoted 2 lines
Quoted 2 lines

the same offset in task_struct of that process and every time with different processes? (I have run it atleast 20-30 times). And it

just

Quoted 5 lines
Quoted 1 line

doesnt come if I kill the process in question?

I've had similar problems when some code invalidated CPU cache and an interrupt came in at the wrong time.

Hi!

I have not very clear on what u mean. Can u explain in more detail?

Thanks,
Anjali

Quoted 3 lines

Richard

Anjali Kulkarni
Software Engineer
Indra Networks

~Living Well is the best Revenge~