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

git: kernel - Fix memory starvation issue w/tmpfs


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 5 Dec 2012 11:41:42 -0800 (PST)

commit a780f9224b71e3886dceb5b107f798ea741eb176
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/a780f9224b71e3886dceb5b107f798ea741eb176


-- 
DragonFly BSD source repository



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