From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from caramon.arm.linux.org.uk ([78.32.30.218]:52311 "EHLO caramon.arm.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756972Ab0DFWIr (ORCPT ); Tue, 6 Apr 2010 18:08:47 -0400 Date: Tue, 6 Apr 2010 23:08:17 +0100 From: Russell King - ARM Linux Subject: Re: [PATCH] arm: mm: Don't free prohibited memmap entries Message-ID: <20100406220817.GE12831@n2100.arm.linux.org.uk> References: <> <1270506861-14461-1-git-send-email-mbohan@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1270506861-14461-1-git-send-email-mbohan@codeaurora.org> Sender: linux-arm-msm-owner@vger.kernel.org List-ID: To: Michael Bohan Cc: mel@csn.ul.ie, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Michael Bohan On Mon, Apr 05, 2010 at 03:34:21PM -0700, Michael Bohan wrote: > From: Michael Bohan > > The VM subsystem assumes that there are valid memmap entries to > the bank end aligned to MAX_ORDER_NR_PAGES. It will try and read > these page structs, and so we cannot free any memmap entries that > it may inspect. 1. are you enabling ARCH_HAS_HOLES_MEMORYMODEL ? 2. where does it try to access these page structs without trying pfn_valid() to check whether a page struct exists first?