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

git: vkernel - Improve memory image file startup


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 14 Sep 2010 19:35:59 -0700 (PDT)

commit b72e51d1c25ac5e8162f41e1a83d2f263672ea73
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Tue Sep 14 15:59:28 2010 -0700

    vkernel - Improve memory image file startup
    
    * Remove the code that pre-filled a memory image file with zeros.  It's
      completely worthless, particularly with HAMMER.
    
    * On startup truncate the memory file to 0 and then extend to the
      memory size, deleting any backing store from the prior vkernel run.
      The new file will start out full of holes.
    
      This greatly improves vkernel startup time.

Summary of changes:
 sys/platform/vkernel/platform/init.c   |   28 ++++++----------------------
 sys/platform/vkernel64/platform/init.c |   28 ++++++----------------------
 2 files changed, 12 insertions(+), 44 deletions(-)

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


-- 
DragonFly BSD source repository



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