diff options
Diffstat (limited to 'sys/uvm/uvm_aobj.c')
-rw-r--r-- | sys/uvm/uvm_aobj.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sys/uvm/uvm_aobj.c b/sys/uvm/uvm_aobj.c index b8fedc79a13..c658c075b91 100644 --- a/sys/uvm/uvm_aobj.c +++ b/sys/uvm/uvm_aobj.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_aobj.c,v 1.66 2014/07/11 16:35:40 jsg Exp $ */ +/* $OpenBSD: uvm_aobj.c,v 1.67 2014/07/12 18:44:01 tedu Exp $ */ /* $NetBSD: uvm_aobj.c,v 1.39 2001/02/18 21:19:08 chs Exp $ */ /* @@ -379,7 +379,7 @@ uao_free(struct uvm_aobj *aobj) pool_put(&uao_swhash_elt_pool, elt); } } - free(aobj->u_swhash, M_UVMAOBJ); + free(aobj->u_swhash, M_UVMAOBJ, 0); } else { int i; @@ -393,7 +393,7 @@ uao_free(struct uvm_aobj *aobj) uvmexp.swpgonly--; } } - free(aobj->u_swslots, M_UVMAOBJ); + free(aobj->u_swslots, M_UVMAOBJ, 0); } /* finally free the aobj itself */ @@ -461,7 +461,7 @@ uao_shrink_hash(struct uvm_object *uobj, int pages) } } - free(aobj->u_swhash, M_UVMAOBJ); + free(aobj->u_swhash, M_UVMAOBJ, 0); aobj->u_swhash = new_swhash; aobj->u_pages = pages; @@ -498,7 +498,7 @@ uao_shrink_convert(struct uvm_object *uobj, int pages) } } - free(aobj->u_swhash, M_UVMAOBJ); + free(aobj->u_swhash, M_UVMAOBJ, 0); aobj->u_swslots = new_swslots; aobj->u_pages = pages; @@ -522,7 +522,7 @@ uao_shrink_array(struct uvm_object *uobj, int pages) for (i = 0; i < pages; i++) new_swslots[i] = aobj->u_swslots[i]; - free(aobj->u_swslots, M_UVMAOBJ); + free(aobj->u_swslots, M_UVMAOBJ, 0); aobj->u_swslots = new_swslots; aobj->u_pages = pages; @@ -575,7 +575,7 @@ uao_grow_array(struct uvm_object *uobj, int pages) for (i = 0; i < aobj->u_pages; i++) new_swslots[i] = aobj->u_swslots[i]; - free(aobj->u_swslots, M_UVMAOBJ); + free(aobj->u_swslots, M_UVMAOBJ, 0); aobj->u_swslots = new_swslots; aobj->u_pages = pages; @@ -618,7 +618,7 @@ uao_grow_hash(struct uvm_object *uobj, int pages) } } - free(aobj->u_swhash, M_UVMAOBJ); + free(aobj->u_swhash, M_UVMAOBJ, 0); aobj->u_swhash = new_swhash; aobj->u_pages = pages; @@ -654,7 +654,7 @@ uao_grow_convert(struct uvm_object *uobj, int pages) } } - free(old_swslots, M_UVMAOBJ); + free(old_swslots, M_UVMAOBJ, 0); aobj->u_pages = pages; return 0; |