Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262813AbUDAToL (ORCPT ); Thu, 1 Apr 2004 14:44:11 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263114AbUDAToL (ORCPT ); Thu, 1 Apr 2004 14:44:11 -0500 Received: from phoenix.infradead.org ([213.86.99.234]:1033 "EHLO phoenix.infradead.org") by vger.kernel.org with ESMTP id S262813AbUDAToJ (ORCPT ); Thu, 1 Apr 2004 14:44:09 -0500 Date: Thu, 1 Apr 2004 20:44:07 +0100 From: Christoph Hellwig To: Sridhar Samudrala Cc: linux-kernel@vger.kernel.org Subject: Re: CONFIG_DEBUG_PAGEALLOC and virt_addr_valid() Message-ID: <20040401204407.A24608@infradead.org> Mail-Followup-To: Christoph Hellwig , Sridhar Samudrala , linux-kernel@vger.kernel.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from sri@us.ibm.com on Thu, Apr 01, 2004 at 11:11:39AM -0800 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 589 Lines: 13 On Thu, Apr 01, 2004 at 11:11:39AM -0800, Sridhar Samudrala wrote: > When CONFIG_DEBUG_PAGEALLOC is enabled, i am noticing that virt_addr_valid() > (called from sctp_is_valid_kaddr()) is returning true even for freed objects. > Is this a bug or expected behavior? Generally every use of virt_addr_valid() is a bug. What are you trying to do? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/