Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756199AbaFYWyq (ORCPT ); Wed, 25 Jun 2014 18:54:46 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:48723 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753993AbaFYWyp (ORCPT ); Wed, 25 Jun 2014 18:54:45 -0400 Date: Wed, 25 Jun 2014 15:54:43 -0700 From: Andrew Morton To: David Rientjes Cc: Stefan Bader , Heiko Carstens , linux-kernel@vger.kernel.org, Eric Dumazet , Peter Zijlstra Subject: Re: fs/stat: Reduce memory requirements for stat_open Message-Id: <20140625155443.9b0db555884e2fcc284f2842@linux-foundation.org> In-Reply-To: References: <1402578017-16637-1-git-send-email-stefan.bader@canonical.com> <20140612134149.GC4296@osiris> <5399B301.9030108@canonical.com> <53AA746A.3030303@canonical.com> X-Mailer: Sylpheed 3.2.0beta5 (GTK+ 2.24.10; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 25 Jun 2014 15:52:30 -0700 (PDT) David Rientjes wrote: > On Wed, 25 Jun 2014, Stefan Bader wrote: > > > Heiko and I both had the same issue. Since some x86 hardware also reaches a lot > > of CPUs (hyperthreads included), we bumped the possible number of CPUs to 256 at > > least for the 64bit kernel. And that resulted in failed accesses to /proc/stat > > when memory became fragmented. > > So the first patch will avoid this on most systems. I have not seen this myself, > > but I would expect him to be happy with 1/2 already. For really excessive > > hardware 2/2 will close the gap. > > Since this is no critical bug, I am fine with 3.17, too. I have not done so, > > yet, but I could let our reporter try the patches (again, probably not verifying > > the second part). Just waited to do so to see whether the code settles down to > > these changes. > > > > Ok, thanks. Looks like > > proc-stat-convert-to-single_open_size.patch > fs-seq_file-fallback-to-vmalloc-allocation.patch > > are destined for 3.17. Actually I've bumped them into the 3.16 queue, cc stable. -- 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/