git: DragonFly_RELEASE_3_2 kernel - Fix memory starvation issue w/tmpfs

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Dec 6 13:55:16 PST 2012


commit e5cec36cced0b9d74a0d367c89a6be9e54d7d751
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Dec 5 11:40:01 2012 -0800

    kernel - Fix memory starvation issue w/tmpfs
    
    * TMPFS relies on the pagedaemon to retire dirty pages to swap.  The normal
      buffer cache flushing won't do the job (nor do we want it to).  To avoid
      starving the system we change bio_page_alloc() to not dig into the
      system reserve when allocating pages for TMPFS.
    
    Reported-by: tuxillo (Antonio Huete)

Summary of changes:
 sys/kern/vfs_bio.c |   17 +++++++++++++----
 1 files changed, 13 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e5cec36cced0b9d74a0d367c89a6be9e54d7d751


-- 
DragonFly BSD source repository



More information about the Commits mailing list