Le jeudi 17 mai 2007 à 00:20 +1000, Nick Piggin a écrit : > Mel Gorman wrote: > > > ====== > > > > On third thought: The trouble with this solution is that we will now set > > the order to that used by the largest kmalloc cache. Bad... this could be > > 6 on i386 to 13 if CONFIG_LARGE_ALLOCs is set. The large kmalloc caches are > > rarely used and we are used to OOMing if those are utilized to frequently. > > > > I guess we should only set this for non kmalloc caches then. > > So move the call into kmem_cache_create? Would make the min order 3 on > > most of my mm machines. > > === > > Also, I might add that the e1000 page allocations failures usually come > from kmalloc, so doing this means they might just be protected by chance > if someone happens to create a kmem cache of order 3. The system on which the patches were tested does not include an e1000 card -- Nicolas Mailhot