Source-Changes-HG archive

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

[src/trunk]: src/sys/uvm Sort struct uvm_faultctx members for better alignment.



details:   https://anonhg.NetBSD.org/src/rev/07615d00ae91
branches:  trunk
changeset: 751357:07615d00ae91
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Tue Feb 02 01:54:48 2010 +0000

description:
Sort struct uvm_faultctx members for better alignment.

diffstat:

 sys/uvm/uvm_fault.c |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (38 lines):

diff -r 1407712a7fda -r 07615d00ae91 sys/uvm/uvm_fault.c
--- a/sys/uvm/uvm_fault.c       Mon Feb 01 22:34:29 2010 +0000
+++ b/sys/uvm/uvm_fault.c       Tue Feb 02 01:54:48 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_fault.c,v 1.149 2010/02/01 16:12:36 uebayasi Exp $ */
+/*     $NetBSD: uvm_fault.c,v 1.150 2010/02/02 01:54:48 uebayasi Exp $ */
 
 /*
  *
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_fault.c,v 1.149 2010/02/01 16:12:36 uebayasi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_fault.c,v 1.150 2010/02/02 01:54:48 uebayasi Exp $");
 
 #include "opt_uvmhist.h"
 
@@ -695,15 +695,15 @@
 struct uvm_faultctx {
        vm_prot_t access_type;
        vm_prot_t enter_prot;
+       vaddr_t startva;
+       int npages;
+       int centeridx;
+       struct vm_anon *anon_spare;
        bool wire_mapping;
        bool narrow;
        bool wire_paging;
        bool maxprot;
        bool cow_now;
-       int npages;
-       int centeridx;
-       vaddr_t startva;
-       struct vm_anon *anon_spare;
 };
 
 static int uvm_fault_check(



Home | Main Index | Thread Index | Old Index