Works great! This should _definetely_ be merged into the main kernel after
som testing. Without it _all_ other kernels I've tested (2.4.lots) goes OOM
under the mentioned scenarios. This one simply does the job.
> It's possible that keeping the number of buffers as low as possible
> will give improved performance over Andrea's approach because it
> leaves more ZONE_NORMAL for other things. It's also possible that
> it'll give worse performance because more get_block's need to be
> done for file overwriting.
Andrea's patch merely pushed the problem forward. This one fixed it
-- Roy Sigurd Karlsbakk, DatavaktmesterComputers are like air conditioners. They stop working when you open Windows. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/