swap_pager.c (2252f43bdceb37482c978c760ecc37f82f34d422) | swap_pager.c (e735691b613c2ac4aed254ffefeef429c91c2e0d) |
---|---|
1/*- 2 * Copyright (c) 1998 Matthew Dillon, 3 * Copyright (c) 1994 John S. Dyson 4 * Copyright (c) 1990 University of Utah. 5 * Copyright (c) 1982, 1986, 1989, 1993 6 * The Regents of the University of California. All rights reserved. 7 * 8 * This code is derived from software contributed to Berkeley by --- 683 unchanged lines hidden (view full) --- 692 693 /* 694 * Free all remaining metadata. We only bother to free it from 695 * the swap meta data. We do not attempt to free swapblk's still 696 * associated with vm_page_t's for this object. We do not care 697 * if paging is still in progress on some objects. 698 */ 699 swp_pager_meta_free_all(object); | 1/*- 2 * Copyright (c) 1998 Matthew Dillon, 3 * Copyright (c) 1994 John S. Dyson 4 * Copyright (c) 1990 University of Utah. 5 * Copyright (c) 1982, 1986, 1989, 1993 6 * The Regents of the University of California. All rights reserved. 7 * 8 * This code is derived from software contributed to Berkeley by --- 683 unchanged lines hidden (view full) --- 692 693 /* 694 * Free all remaining metadata. We only bother to free it from 695 * the swap meta data. We do not attempt to free swapblk's still 696 * associated with vm_page_t's for this object. We do not care 697 * if paging is still in progress on some objects. 698 */ 699 swp_pager_meta_free_all(object); |
700 object->handle = NULL; 701 object->type = OBJT_DEAD; |
|
700} 701 702/************************************************************************ 703 * SWAP PAGER BITMAP ROUTINES * 704 ************************************************************************/ 705 706/* 707 * SWP_PAGER_GETSWAPSPACE() - allocate raw swap space --- 2133 unchanged lines hidden --- | 702} 703 704/************************************************************************ 705 * SWAP PAGER BITMAP ROUTINES * 706 ************************************************************************/ 707 708/* 709 * SWP_PAGER_GETSWAPSPACE() - allocate raw swap space --- 2133 unchanged lines hidden --- |