On Thu, 31 Jan 2008 10:17:48 +0900 KOSAKI Motohiro <[EMAIL PROTECTED]> wrote:
> on my test environment, my patch solve incorrect OOM. > because, too small reclaim cause OOM. That makes sense. The version you two are looking at can return "percentages" way larger than 100 in get_scan_ratio. A fixed version of get_scan_ratio, where the percentages always add up to 100%, makes the system go OOM before it seriously starts swapping. I will integrate your fixes with my code when I get back from holidays. Then things should work :) Thank you for your analysis of the problem. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/