git: kernel - struct vm_object - increase paging_in_progress from short to int

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Feb 9 00:14:59 PST 2010


commit 82246426d81a1eeaee3a55a9205060a064c73453
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Feb 9 00:08:32 2010 -0800

    kernel - struct vm_object - increase paging_in_progress from short to int
    
    * Change the paging_in_progress refcount from an unsigned short to an int.
      It is potentitally possible to overflow it as a short, especially when
      many pages are rolled up into clusters.
    
      This changes the size of the vm_object structure.

Summary of changes:
 sys/vm/vm_object.h |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/82246426d81a1eeaee3a55a9205060a064c73453


-- 
DragonFly BSD source repository





More information about the Commits mailing list