Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263773AbTKKWdZ (ORCPT ); Tue, 11 Nov 2003 17:33:25 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263806AbTKKWdY (ORCPT ); Tue, 11 Nov 2003 17:33:24 -0500 Received: from modemcable137.219-201-24.mc.videotron.ca ([24.201.219.137]:57986 "EHLO montezuma.fsmlabs.com") by vger.kernel.org with ESMTP id S263773AbTKKWdU (ORCPT ); Tue, 11 Nov 2003 17:33:20 -0500 Date: Tue, 11 Nov 2003 17:32:26 -0500 (EST) From: Zwane Mwaikambo To: "Martin J. Bligh" cc: Anton Blanchard , Linus Torvalds , Erik Jacobson , linux-kernel@vger.kernel.org Subject: Re: 2.6 /proc/interrupts fails on systems with many CPUs In-Reply-To: <31250000.1068590491@flay> Message-ID: References: <9710000.1068573723@flay> <20031111201458.GS930@krispykreme> <31250000.1068590491@flay> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 754 Lines: 23 On Tue, 11 Nov 2003, Martin J. Bligh wrote: > That seems particularly .... odd ... as PAGE_SIZE isn't anywhere near the > breakpoint. Worst case (and I know I'll get yelled at for this, but I'll > get another amusing analogy out of Linus ;-)) we should just call kmalloc > and if it fails, then try vmalloc ... You're Cruisin' for a bruisin' ;) I wonder if it ever does exceed 128k anyway... static int semctl_main(...) { int nsems = sma->sem_nsems; ... sem_io = ipc_alloc(sizeof(ushort)*nsems); ... } - 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/