summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/lib/CodeGen/AsmPrinter/ARMException.cpp
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2015-07-08 17:45:59 +0000
committeralc <alc@FreeBSD.org>2015-07-08 17:45:59 +0000
commit52af6a67b662366f80816c510628a1be8fd2ba0c (patch)
tree2ff386602d30867ffe3c855fd32995591a7ca01f /contrib/llvm/lib/CodeGen/AsmPrinter/ARMException.cpp
parent0c01cffa69b1f76808833018fad6333aafe00209 (diff)
downloadFreeBSD-src-52af6a67b662366f80816c510628a1be8fd2ba0c.zip
FreeBSD-src-52af6a67b662366f80816c510628a1be8fd2ba0c.tar.gz
The intention of r254304 was to scan the active queue continuously.
However, I've observed the active queue scan stopping when there are frequent free page shortages and the inactive queue is steadily refilled by other mechanisms, such as the sequential access heuristic in vm_fault() or madvise(2). To remedy this problem, record the time of the last active queue scan, and always scan a number of pages proportional to the time since the last scan, regardless of whether that last scan was a timeout-triggered ("pass == 0") or free-page-shortage-triggered ("pass > 0") scan. Also, on a timeout-triggered scan, allow a full scan of the active queue when the system is short of inactive pages. Reviewed by: kib MFC after: 6 weeks Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'contrib/llvm/lib/CodeGen/AsmPrinter/ARMException.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud