From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from kanga.kvack.org ([205.233.56.17]:51749 "EHLO kanga.kvack.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752248AbcJESC0 (ORCPT ); Wed, 5 Oct 2016 14:02:26 -0400 Date: Wed, 5 Oct 2016 13:41:46 -0400 From: Benjamin LaHaise To: Mauricio Faria de Oliveira Cc: Kent Overstreet , Alexander Viro , linux-fsdevel@vger.kernel.org, linux-aio@kvack.org, linux-kernel@vger.kernel.org Subject: Re: aio: questions with ioctx_alloc() and large num_possible_cpus() Message-ID: <20161005174146.GK23336@kvack.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Tue, Oct 04, 2016 at 07:55:12PM -0300, Mauricio Faria de Oliveira wrote: > Hi Benjamin, Kent, and others, > > Would you please comment / answer about this possible problem? > Any feedback is appreciated. I'd suggest increasing the default limit by changing how it is calculated. The current number came about 13 years ago when machines had orders of magnitude less RAM than they do today. -ben -- "Thought is the essence of where you are now."