DragonFly BSD
DragonFly commits List (threaded) for 2012-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 6 Dec 2012 13:55:16 -0800 (PST)

commit e5cec36cced0b9d74a0d367c89a6be9e54d7d751
Author: Matthew Dillon <dillon@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]