Re: [PATCH] oom killer (Core)

From: Voluspa
Date: Sat Dec 04 2004 - 21:23:23 EST



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

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