/[base]
ViewVC logotype

Revision 353734


Jump to revision: Previous Next
Author: markj
Date: Fri Oct 18 17:36:42 2019 UTC (4 years, 8 months ago)
Changed paths: 1
Log Message:
Further constrain the use of per-CPU caches for free pages.

In low memory conditions a significant number of pages may end up stuck
in the caches, and currently these caches cannot be reaped, leading to
spurious memory allocation failures and OOM kills.  So:

- Take into account the fact that we may cache up to two full buckets
  of pages per CPU, not just one.
- Increase the amount of RAM required per CPU to enable the caches.

This is a temporary measure until the page cache management policy is
improved.

PR:		241048
Reported and tested by:	Kevin Oberman <rkoberman@gmail.com>
Reviewed by:	alc, kib
Discussed with:	jeff
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D22040


Changed paths

Path Details
Directoryhead/sys/vm/vm_page.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27