[BACK]Return to uvm_object.h CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / uvm

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/uvm/uvm_object.h between version 1.22 and 1.22.30.1

version 1.22, 2006/10/12 10:14:20 version 1.22.30.1, 2007/12/08 18:21:46
Line 47 
Line 47 
   
 struct uvm_object {  struct uvm_object {
         struct simplelock       vmobjlock;      /* lock on memq */          struct simplelock       vmobjlock;      /* lock on memq */
         struct uvm_pagerops     *pgops;         /* pager ops */          const struct uvm_pagerops *pgops;       /* pager ops */
         struct pglist           memq;           /* pages in this object */          struct pglist           memq;           /* pages in this object */
         int                     uo_npages;      /* # of pages in memq */          int                     uo_npages;      /* # of pages in memq */
         int                     uo_refs;        /* reference count */          int                     uo_refs;        /* reference count */
Line 72  struct uvm_object {
Line 72  struct uvm_object {
   
 #ifdef _KERNEL  #ifdef _KERNEL
   
 extern struct uvm_pagerops uvm_vnodeops;  extern const struct uvm_pagerops uvm_vnodeops;
 extern struct uvm_pagerops uvm_deviceops;  extern const struct uvm_pagerops uvm_deviceops;
 extern struct uvm_pagerops ubc_pager;  extern const struct uvm_pagerops ubc_pager;
 extern struct uvm_pagerops aobj_pager;  extern const struct uvm_pagerops aobj_pager;
   
 #define UVM_OBJ_IS_VNODE(uobj)                                          \  #define UVM_OBJ_IS_VNODE(uobj)                                          \
         ((uobj)->pgops == &uvm_vnodeops)          ((uobj)->pgops == &uvm_vnodeops)

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.22.30.1

CVSweb <webmaster@jp.NetBSD.org>