Skip to contentSkip to conversation

oom killer (Core)

PATCH Voluspa 1 participant 1 message Dec 5, 2004

lore
Share & tools
lore

Voluspa

author
#0 lore raw
Quoted 2 lines · On 2004-12-04 21:02:03 Thomas Gleixner wrote:

Mats. I don't understand why this did not work for you. The change has to be reverted to the original line "might_sleep_if(wait)" !

Well, I'm no coder and therefore follow instructions to the letter, almost (; <-- ehum), which meant that "put back" became lines 613-615 in mm/page_alloc.c

might_sleep_if(wait);
if (wait)

        cond_resched();

Now interpreting it as the lines should be

might_sleep_if(wait);

/*

the kernel boots without problems. Have yet to test the oom-killer with my rogue app. Won't return unless there's problems.

Mvh
Mats Johannesson