Re: [patch-2.4.0-test10-pre3] logic of __alloc_pages_limit(

2000-10-16 Thread Tigran Aivazian
On Mon, 16 Oct 2000, Petr Vandrovec wrote: > On 16 Oct 00 at 22:50, Tigran Aivazian wrote: > > + struct page *page; > > /* If possible, reclaim a page directly. */ > > - if (direct_reclaim && z->free_pages < z->pages_min + 8) > > + if (direct_reclaim &&

[patch-2.4.0-test10-pre3] logic of __alloc_pages_limit().

2000-10-16 Thread Tigran Aivazian
Hi Linus and Rik, The same analysis I did for __alloc_pages() applies to __alloc_pages_limit(), namely it can be optimized by looking at the logic of 'page == NULL'. In both cases, of course, I checked the assembly listing to make sure that my patch didn't make a worse code. It was always a few i