The following reply was made to PR kern/133170; it has been noted by GNATS.
From: dfil...@freebsd.org (dfilter service) To: bug-follo...@freebsd.org Cc: Subject: Re: kern/133170: commit references a PR Date: Sat, 1 Jan 2011 16:59:12 +0000 (UTC) Author: brucec Date: Sat Jan 1 16:59:05 2011 New Revision: 216873 URL: http://svn.freebsd.org/changeset/base/216873 Log: There can be more than 0x20000000 swap meta blocks allocated if a swap-backed md(4) device is used. Don't panic when deallocating such a device if swap has been used. PR: kern/133170 Discussed with: kib MFC after: 3 days Modified: head/sys/vm/swap_pager.c Modified: head/sys/vm/swap_pager.c ============================================================================== --- head/sys/vm/swap_pager.c Sat Jan 1 16:47:12 2011 (r216872) +++ head/sys/vm/swap_pager.c Sat Jan 1 16:59:05 2011 (r216873) @@ -1679,8 +1679,6 @@ swap_pager_isswapped(vm_object_t object, } } index += SWAP_META_PAGES; - if (index > 0x20000000) - panic("swap_pager_isswapped: failed to locate all swap meta blocks"); } mtx_unlock(&swhash_mtx); return (0); @@ -1995,8 +1993,6 @@ swp_pager_meta_free_all(vm_object_t obje } mtx_unlock(&swhash_mtx); index += SWAP_META_PAGES; - if (index > 0x20000000) - panic("swp_pager_meta_free_all: failed to locate all swap meta blocks"); } } _______________________________________________ svn-src-...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org" _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"