[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] ac7: page_launder() & refill_inactive() changes




On Sat, 3 Mar 2001, Benjamin Redelings I wrote:

>  
> Content-Type: text/plain; charset=big5
> Content-Transfer-Encoding: 7bit
> 
> Hi Marcelo:
> 	In the patch you provided, have you perhaps reverse the sense of this
> test:
> 
> +                       if (try_to_free_buffers(page, wait))
> +                               flushed_pages++;
> 
> Should this have a NOT (!) instead?

No. 

I changed try_to_free_buffers() to return true if it did IO. 

> 
> +                       if (!try_to_free_buffers(page, wait))
> +                               flushed_pages++;
> 

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/