git: kernel - Fix memory starvation issue w/tmpfs
Matthew Dillon
dillon at crater.dragonflybsd.org
Wed Dec 5 11:41:42 PST 2012
commit a780f9224b71e3886dceb5b107f798ea741eb176
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/a780f9224b71e3886dceb5b107f798ea741eb176
--
DragonFly BSD source repository
More information about the Commits
mailing list