Re: Don't bother checking for an empty pageq before freeing the list

2011-06-23 Thread Owain Ainsworth
How about this now? On Tue, May 31, 2011 at 12:03:49AM +0100, Owain Ainsworth wrote: It will handle an empty list just fine (there is a potential small optimisation in there to avoid grabbing the fpageqlock if no pages need freeing but that is another diff) ok? diff --git uvm/uvm_km.c

Re: Don't bother checking for an empty pageq before freeing the list

2011-06-23 Thread Ariane van der Steldt
On Thu, Jun 23, 2011 at 07:04:39PM +0100, Owain Ainsworth wrote: How about this now? On Tue, May 31, 2011 at 12:03:49AM +0100, Owain Ainsworth wrote: It will handle an empty list just fine (there is a potential small optimisation in there to avoid grabbing the fpageqlock if no pages need