git: kernel - Add missing p_token use in swapout scheduler callback

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Feb 5 18:16:11 PST 2017


commit ff4434f56e60222201ebf3d3e7703af801850bfa
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun Feb 5 16:57:53 2017 -0800

    kernel - Add missing p_token use in swapout scheduler callback
    
    * allproc_scan() only PHOLDs(p).  We also need p->p_token to safely
      test the vmspace.

Summary of changes:
 sys/vm/vm_glue.c | 85 +++++++++++++++++++++++++++++++++++---------------------
 1 file changed, 53 insertions(+), 32 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list