Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S268505AbUILHSc (ORCPT ); Sun, 12 Sep 2004 03:18:32 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S268506AbUILHSc (ORCPT ); Sun, 12 Sep 2004 03:18:32 -0400 Received: from fw.osdl.org ([65.172.181.6]:58519 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id S268505AbUILHSa (ORCPT ); Sun, 12 Sep 2004 03:18:30 -0400 Date: Sun, 12 Sep 2004 00:16:26 -0700 From: Andrew Morton To: "Udo A. Steinberg" Cc: torvalds@osdl.org, linux-kernel@vger.kernel.org, len.brown@intel.com Subject: Re: Possible dcache BUG Message-Id: <20040912001626.759e2d17.akpm@osdl.org> In-Reply-To: <20040912000354.7243a328@laptop.delusion.de> References: <20040808113930.24ae0273.akpm@osdl.org> <200408100012.08945.gene.heskett@verizon.net> <200408102342.12792.gene.heskett@verizon.net> <20040810211849.0d556af4@laptop.delusion.de> <20040812180033.62b389db@laptop.delusion.de> <20040912000354.7243a328@laptop.delusion.de> X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1930 Lines: 49 "Udo A. Steinberg" wrote: > > However, then as slab usage went skyrocket after 3 days, I started logging > these: > > [] __kmalloc+0x6f/0x80 > [] acpi_os_allocate+0xa/0xb > [] acpi_ut_callocate+0x30/0x7a > [] acpi_ut_acquire_from_cache+0x9d/0xaa > [] acpi_ut_create_generic_state+0xa/0x12 > [] acpi_ds_result_stack_push+0x8/0x25 > [] acpi_ds_create_walk_state+0x53/0x70 > [] acpi_ps_delete_parse_tree+0x20/0x89 > [] acpi_ps_parse_loop+0x550/0x7bb > [] acpi_ps_parse_aml+0x4d/0x1a1 > [] acpi_ds_call_control_method+0xd3/0x1b3 > [] acpi_ps_parse_aml+0x62/0x1a1 > [] acpi_psx_execute+0x13b/0x194 > [] acpi_ns_execute_control_method+0x3b/0x47 > [] acpi_ns_evaluate_by_handle+0x6f/0x86 > [] acpi_ns_evaluate_relative+0xa9/0xc3 > [] acpi_evaluate_object+0xf3/0x1a0 > [] link_path_walk+0xbe6/0xe70 > [] acpi_battery_get_status+0x68/0x102 > [] acpi_battery_read_state+0x88/0x275 > [] proc_file_read+0xbb/0x250 > [] vfs_read+0xd1/0x130 > [] sys_read+0x41/0x70 > [] syscall_call+0x7/0xb great, thanks for working that out. Random guess: acpi_evaluate_object() is returning an error but is allocating memory anyway. In acpi_battery_get_status(): status = acpi_evaluate_object(battery->handle, "_BST", NULL, &buffer); if (ACPI_FAILURE(status)) { ACPI_DEBUG_PRINT((ACPI_DB_ERROR, "Error evaluating _BST\n")); return_VALUE(-ENODEV); } Is that failure path being taken? - 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/