Module Name: src Committed By: yamt Date: Sun Jun 14 21:36:03 UTC 2009
Modified Files: src/sys/uvm: uvm_anon.h Log Message: change the order of members of vm_anon for better packing. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/sys/uvm/uvm_anon.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/uvm/uvm_anon.h diff -u src/sys/uvm/uvm_anon.h:1.25 src/sys/uvm/uvm_anon.h:1.26 --- src/sys/uvm/uvm_anon.h:1.25 Wed Jan 2 11:49:15 2008 +++ src/sys/uvm/uvm_anon.h Sun Jun 14 21:36:03 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: uvm_anon.h,v 1.25 2008/01/02 11:49:15 ad Exp $ */ +/* $NetBSD: uvm_anon.h,v 1.26 2009/06/14 21:36:03 yamt Exp $ */ /* * @@ -52,9 +52,9 @@ */ struct vm_anon { - int an_ref; /* reference count [an_lock] */ - kmutex_t an_lock; /* lock for an_ref */ + kmutex_t an_lock; /* lock for an_ref */ struct vm_page *an_page;/* if in RAM [an_lock] */ + int an_ref; /* reference count [an_lock] */ #if defined(VMSWAP) || 1 /* XXX libkvm */ int an_swslot; /* drum swap slot # (if != 0) [an_lock. also, it is ok to read