Received: by mail.netbsd.org (Postfix, from userid 605) id 6597F855AD; Thu, 9 Mar 2017 00:21:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id E61E28559F for ; Thu, 9 Mar 2017 00:21:55 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id k7t-7o9VfNZe for ; Thu, 9 Mar 2017 00:21:55 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 8B87384CDB for ; Thu, 9 Mar 2017 00:21:55 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 85E50FBE4; Thu, 9 Mar 2017 00:21:55 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Thu, 9 Mar 2017 00:21:55 +0000 From: "Chuck Silvers" Subject: CVS commit: src/sys/arch/x86/x86 To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20170309002155.85E50FBE4@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Chuck Silvers" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: chs Date: Thu Mar 9 00:21:55 UTC 2017 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: in pmap_get_ptp(), if we need to allocate multiple new ptp levels and succeed in allocating some pages but fail to get them all, free any ptps we did allocate before returning. also, only consume kernel-reserve pages if pmap_enter() is called without PMAP_CANFAIL set, to help avoid deadlocking during high memory pressure. To generate a diff of this commit: cvs rdiff -u -r1.241 -r1.242 src/sys/arch/x86/x86/pmap.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.