SVNews r330871

NOTE: This service is experimental and subject to change! Use at your own risk!

2018-03-13 18:27:23 - r330871 by kib (Konstantin Belousov)

Complete list of files affected by revision r330871:

(Note: At the moment, these links point to ViewVC on They are probably slow. Do not overuse.)

  History   Contents   Diff   MODIFY   /head/sys/vm/vm_page.c  

Commit message:

Revert the chunk from r330410 in vm_page_reclaim_run().

There, the pages freed might be managed but the page's lock is not
owned. For KPI correctness, the page lock is requried around the call
to vm_page_free_prep(), which is asserted. Reclaim loop already did
the work which could be done by vm_page_free_prep(), so the lock is
not needed and the only consequence of not owning it is the assert

Instead of adding the locking to satisfy the assert, revert to the
code that calls vm_page_free_phys() directly.

Reported by: pho
Discussed with: jeff
Sponsored by: The FreeBSD Foundation
MFC after: 1 week


Powered by Python FreeBSD support by secnetix GmbH & Co. KG

Page generated in 14 ms, 1 file printed. Current time is 2018-03-18 09:37:21. All times are in UTC/GMT.