> > > uvm_pagefree calls atomic_clearbits_int too many times.
> > 
> > Is there some sort of evidence that this is a problem - performace or
> > stability wise?
> 
> Platforms which can't do ll/sc style atomic operations usually wrap
> these operations within splhigh()/splx() calls, which are a tad
> expensive.
> 
> In that particular diff, Ted makes sure to flip the bits only during the
> time the vm_page is not on any TAILQ, and before it is put on the free
> list.
> 
> This is narrow enough to me.

Same opinion.

Reply via email to