git: kernel - Add additional safety assertions in the pmap path

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Dec 7 20:18:17 PST 2011


commit 993bac4430ff8770419d96bc0356c34ac31501a7
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Dec 7 20:16:36 2011 -0800

    kernel - Add additional safety assertions in the pmap path
    
    * Assert additional state is correct in pmap_pinit()
    
    * Assert that the critical section count makes preemption impossible
      in pmap_interlock_wait(), which is called from the depths of swtch.s
      during a thread switch.

Summary of changes:
 sys/platform/pc64/x86_64/pmap.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/993bac4430ff8770419d96bc0356c34ac31501a7


-- 
DragonFly BSD source repository





More information about the Commits mailing list