Hi Tijl, and others;

Here's something that Jeff came up with that fixes my problem:

adrian@victoria:~/work/freebsd/head-embedded/src % svn diff sys/kern/
Index: sys/kern/vfs_bio.c
===================================================================
--- sys/kern/vfs_bio.c  (revision 290048)
+++ sys/kern/vfs_bio.c  (working copy)
@@ -2910,7 +2910,7 @@
        } while(buf_scan(false) == 0);

        if (reserved)
-               bufspace_release(maxsize);
+               atomic_subtract_long(&bufspace, maxsize);
        if (bp != NULL) {
                bp->b_flags |= B_INVAL;
                brelse(bp);


Would you/others please try this and see if it improves things? It
improves things for me on these memory-starved MIPS boards.



-a
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to