From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-f71.google.com (mail-lf0-f71.google.com [209.85.215.71]) by kanga.kvack.org (Postfix) with ESMTP id 834E328025A for ; Wed, 28 Sep 2016 12:33:25 -0400 (EDT) Received: by mail-lf0-f71.google.com with SMTP id n4so42786671lfb.3 for ; Wed, 28 Sep 2016 09:33:25 -0700 (PDT) Received: from smtp-out4.electric.net (smtp-out4.electric.net. [192.162.216.194]) by mx.google.com with ESMTPS id j90si4181506lfi.303.2016.09.28.09.33.23 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 28 Sep 2016 09:33:24 -0700 (PDT) From: David Laight Subject: RE: [PATCH] fs/select: add vmalloc fallback for select(2) Date: Wed, 28 Sep 2016 16:30:16 +0000 Message-ID: <063D6719AE5E284EB5DD2968C1650D6DB010AAC6@AcuExch.aculab.com> References: <20160922152831.24165-1-vbabka@suse.cz> <006101d21565$b60a8a70$221f9f50$@alibaba-inc.com> <20160923172434.7ad8f2e0@roar.ozlabs.ibm.com> <57E55CBB.5060309@akamai.com> <5014387d-43da-03f6-a74b-2dc4fbf4fe32@suse.cz> <20160927212458.3ab42b41@roar.ozlabs.ibm.com> <063D6719AE5E284EB5DD2968C1650D6DB010A97D@AcuExch.aculab.com> <20160927214229.2b0b49ac@roar.ozlabs.ibm.com> <92d1ec2c-3246-bd1f-eae5-53ca425ab315@suse.cz> In-Reply-To: <92d1ec2c-3246-bd1f-eae5-53ca425ab315@suse.cz> Content-Language: en-US Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Sender: owner-linux-mm@kvack.org List-ID: To: 'Vlastimil Babka' , Nicholas Piggin Cc: Jason Baron , Hillf Danton , 'Alexander Viro' , "linux-fsdevel@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-mm@kvack.org" , 'Michal Hocko' , "netdev@vger.kernel.org" , Eric Dumazet From: Vlastimil Babka > Sent: 27 September 2016 12:51 ... > Process name suggests it's part of db2 database. It seems it has to imple= ment > its own interface to select() syscall, because glibc itself seems to have= a > FD_SETSIZE limit of 1024, which is probably why this wasn't an issue for = all the > years... ISTR the canonical way to increase the size being to set FD_SETSIZE to a larger value before including any of the headers. Or doesn't that work with linux and glibc ?? David -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org