DragonFly BSD
DragonFly commits List (threaded) for 2011-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 7 Dec 2011 20:17:54 -0800 (PST)

commit 993bac4430ff8770419d96bc0356c34ac31501a7
Author: Matthew Dillon <dillon@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]