![]() | |||||||||||||
Messages in this thread |
On Tue, 3 Feb 2004, Robert Love wrote: > In 2.4, sys_readahead() performs readahead against a maximum of half the > number of inactive pages. This is dumb, as it ignores the number of > free pages completely. Worse, in certain situations, such as boot, the > inactive list can be quite small and the free list quite large, but > readahead(2) won't do anything. > > The right thing to do is limit sys_readahead() to a maximum of half of > the sum of the number of free pages and inactive pages, which is what > 2.6 does. Hi Robert, This looks okay, applied. Question: Do you know any user of sys_readahead() ? - 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/ | ||||||||||||
| Last update: 2005-03-22 14:00 [W:0.346 / U:0.060 seconds] ©2003-2008 Jasper Spaans | |||||||||||||