From owner-svn-src-stable@FreeBSD.ORG Thu Feb 21 05:53:43 2013 Return-Path: Delivered-To: svn-src-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 24BB7E13; Thu, 21 Feb 2013 05:53:43 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 1599C10CC; Thu, 21 Feb 2013 05:53:43 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r1L5rgA2093140; Thu, 21 Feb 2013 05:53:42 GMT (envelope-from kib@svn.freebsd.org) Received: (from kib@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id r1L5rg9d093139; Thu, 21 Feb 2013 05:53:42 GMT (envelope-from kib@svn.freebsd.org) Message-Id: <201302210553.r1L5rg9d093139@svn.freebsd.org> From: Konstantin Belousov Date: Thu, 21 Feb 2013 05:53:42 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r247078 - stable/9/sys/amd64/amd64 X-SVN-Group: stable-9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Feb 2013 05:53:43 -0000 Author: kib Date: Thu Feb 21 05:53:42 2013 New Revision: 247078 URL: http://svnweb.freebsd.org/changeset/base/247078 Log: MFC r246801: Assert that user address is never qremoved. Modified: stable/9/sys/amd64/amd64/pmap.c Directory Properties: stable/9/sys/ (props changed) Modified: stable/9/sys/amd64/amd64/pmap.c ============================================================================== --- stable/9/sys/amd64/amd64/pmap.c Thu Feb 21 05:47:52 2013 (r247077) +++ stable/9/sys/amd64/amd64/pmap.c Thu Feb 21 05:53:42 2013 (r247078) @@ -1440,6 +1440,7 @@ pmap_qremove(vm_offset_t sva, int count) va = sva; while (count-- > 0) { + KASSERT(va >= VM_MIN_KERNEL_ADDRESS, ("usermode va %lx", va)); pmap_kremove(va); va += PAGE_SIZE; }