summaryrefslogtreecommitdiff
path: root/sys/scsi
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2024-11-25 13:06:26 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2024-11-25 13:06:26 +0000
commitdf21a4d2ecac6e720d0153105debd13ffdb279b7 (patch)
treec56301c2385e5bd611960ac491d5ab0ff07b1051 /sys/scsi
parent4defec669eb4e1c187ac7b36963eb24940140f22 (diff)
Account for in-flight pages being written to disk when computing page shortage.
Due to its asynchronous design, on MP machines, the page daemon was generally over swapping memory resulting in a degenerative behavior when OOM. To prevent swapping more pages than necessary, take the amount of in-flight pages into account when calculating the page shortage. Tested by sthen@ and miod@. ok claudio@, tb@
Diffstat (limited to 'sys/scsi')
0 files changed, 0 insertions, 0 deletions