git: kernel - Improve vm_page_try_to_cache()

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Feb 12 17:14:33 PST 2020


commit df9266a10be6cd0b01e4a6c9476af18c4350ded3
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Feb 12 12:42:36 2020 -0800

    kernel - Improve vm_page_try_to_cache()
    
    * In situations where this function is not able to cache the
      page due to the page being dirtied, instead of just returning
      at least ensure that it is moved to the inactive queue if it
      is currently on the active queue.

Summary of changes:
 sys/vm/vm_page.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/df9266a10be6cd0b01e4a6c9476af18c4350ded3


-- 
DragonFly BSD source repository


More information about the Commits mailing list