git: AMD64 - Adjust _pmap_allocpte() to handle races.

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Aug 25 12:39:47 PDT 2009


commit e8510e54e3991749a9b81e75cc5a422b42742012
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Aug 25 10:25:01 2009 -0700

    AMD64 - Adjust _pmap_allocpte() to handle races.
    
    * The vm_page_grab() can block, resulting in a race.  Deal with the case
      similarly to how the i386 code deals with it.

Summary of changes:
 sys/platform/pc64/amd64/pmap.c |  130 +++++++++++++++++++++++-----------------
 1 files changed, 74 insertions(+), 56 deletions(-)

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


-- 
DragonFly BSD source repository





More information about the Commits mailing list