RPI3 swap experiments ["was killed: out of swap space" with: "v_free_count: 5439, v_inactive_count: 1"]

Mark Johnston markj at freebsd.org
Mon Aug 6 16:30:31 UTC 2018


On Mon, Aug 06, 2018 at 09:28:14AM -0700, bob prohaska wrote:
> On Mon, Aug 06, 2018 at 11:58:37AM -0400, Mark Johnston wrote:
> > the problem continues to occur.  If this doesn't help, please try
> > applying both measures, i.e., set oom_seq to 120 _and_ apply the patch.
> > 
> > diff --git a/sys/vm/vm_pagequeue.h b/sys/vm/vm_pagequeue.h
> > index fb56bdf2fdfc..29a16060253f 100644
> > --- a/sys/vm/vm_pagequeue.h
> > +++ b/sys/vm/vm_pagequeue.h
> > @@ -74,7 +74,7 @@ struct vm_pagequeue {
> >  } __aligned(CACHE_LINE_SIZE);
> >  
> >  #ifndef VM_BATCHQUEUE_SIZE
> > -#define	VM_BATCHQUEUE_SIZE	7
> > +#define	VM_BATCHQUEUE_SIZE	1
> >  #endif
> >  
> >  struct vm_batchqueue {
> 
> The open bracket at the end looks odd, is that really the end of the patch? 

Yes, it's just the contents of the file surrounding the modified line
(the VM_BATCHQUEUE_SIZE definition).


More information about the freebsd-arm mailing list