Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp676771ima; Wed, 24 Oct 2018 07:34:22 -0700 (PDT) X-Google-Smtp-Source: AJdET5cJU4VTJ/6or5Fq38/dzxcsiTnThw0ampj/vkmzNNP6z+MQSSX3meJKwcLIXGw8m2QiubnN X-Received: by 2002:a63:3e05:: with SMTP id l5mr2635527pga.96.1540391662658; Wed, 24 Oct 2018 07:34:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540391662; cv=none; d=google.com; s=arc-20160816; b=hEiiTnLztIykiSCAJ18DiOp+Gp6m9qRTnnYkzwzumGy40mlKbzaqHnB3KeWTatnqhQ Z6GXAJMy01H06k9Aas5GrWxW0P1e+RjWb3G3BHRX/R2zXwa/oNYvIcnIjhthP0D31Cut 9CKwpqATiuuthjJgFoVAL80/dtrnWWFBt/aodKEP7Iun22xGBkMwT8qbOXkaCOspNEMd 7jIx35TGhDFj0/H8gKm0EwinBQzNyhHFQSdDqtHongbE9DVV06p/FegXUBcyv9BkWVNj ff+nzseTgC7kbzgHgSrZOamrmgaL65pKsBfUHBeRim+iK+k8rGVLpjEYvvE8QKUu5a1M mCTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:mail-followup-to :message-id:subject:to:from:date:dkim-signature; bh=86PvxqfuSQ8vFchwNPOzlFA//A+fTlde2GmjpjgpLq8=; b=YbP7jfINiqdRBzM/Vfh4rUCEEzyQWlMzD22AjpUcRakLr2RBI5sjfZ6gB2vVUsWmEI Q0utw4d+JbpfPp/ULBe4poIBC2LDQ7nGZeejhbaiY9vcxaDSVNNhIgmd0MrrXiF8RT0h 0YMsv9UxxRbj5KLxu5sO1Us4I0qyG+GLMEWsfKoTT+Y8YPPsBqKPyjlHESTytgmEu01W URD9TOL47yyfny43PXPIiM+argaliE9DmFTIwVaaHkHDpCrjoWBu9b4RoFLXZeal/KYv H6UFS7ws4vDWVJr0dxOxK+jc2l2ny/wRhWIWbttX2cuXIY684WLTP3ADIOk0uYhKSrBC gngQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@thunk.org header.s=ef5046eb header.b=pXmt4DCR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e9-v6si4626347pgo.567.2018.10.24.07.34.05; Wed, 24 Oct 2018 07:34:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@thunk.org header.s=ef5046eb header.b=pXmt4DCR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727046AbeJXXBV (ORCPT + 99 others); Wed, 24 Oct 2018 19:01:21 -0400 Received: from imap.thunk.org ([74.207.234.97]:52936 "EHLO imap.thunk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726633AbeJXXBV (ORCPT ); Wed, 24 Oct 2018 19:01:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=thunk.org; s=ef5046eb; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:To:From:Date:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=86PvxqfuSQ8vFchwNPOzlFA//A+fTlde2GmjpjgpLq8=; b=pXmt4DCRxdcgLJ5FRQ2WlfWsN3 ksDYrFz6b30g0rJm0uPPwAGCUWrpnOMRKlR9cb98OfMQwOYC9ZQHJTg7ZlIibHKgviFaM1zZeASfi 3mlO6UxSp9BFR/vUK2T0apJnvHZ1gHKYAtawatyULWz1q07QGAD8qjRTYyPtEtc7ylXY=; Received: from root (helo=callcc.thunk.org) by imap.thunk.org with local-esmtp (Exim 4.89) (envelope-from ) id 1gFKD9-0008Mh-4e; Wed, 24 Oct 2018 14:32:39 +0000 Received: by callcc.thunk.org (Postfix, from userid 15806) id 7A4557A56BE; Wed, 24 Oct 2018 10:32:37 -0400 (EDT) Date: Wed, 24 Oct 2018 10:32:37 -0400 From: "Theodore Y. Ts'o" To: NeilBrown , Andy Lutomirski , Andreas Dilger , Peter Zijlstra , Dmitry Safonov , "H. Peter Anvin" , Denys Vlasenko , Linus Torvalds , Borislav Petkov , Ingo Molnar , Brian Gerst , LKML , Thomas Gleixner , linux-tip-commits@vger.kernel.org, jsimmons@infradead.org Subject: Re: in_compat_syscall() returns from kernel thread for X86_32. Message-ID: <20181024143237.GA27168@thunk.org> Mail-Followup-To: "Theodore Y. Ts'o" , NeilBrown , Andy Lutomirski , Andreas Dilger , Peter Zijlstra , Dmitry Safonov , "H. Peter Anvin" , Denys Vlasenko , Linus Torvalds , Borislav Petkov , Ingo Molnar , Brian Gerst , LKML , Thomas Gleixner , linux-tip-commits@vger.kernel.org, jsimmons@infradead.org References: <1460987025-30360-1-git-send-email-dsafonov@virtuozzo.com> <87h8hkc9fd.fsf@notabene.neil.brown.name> <871s8ndg6a.fsf@notabene.neil.brown.name> <871s8g6roy.fsf@notabene.neil.brown.name> <20181024131534.GD11606@thunk.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181024131534.GD11606@thunk.org> User-Agent: Mutt/1.10.1 (2018-07-13) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: tytso@thunk.org X-SA-Exim-Scanned: No (on imap.thunk.org); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 24, 2018 at 09:15:34AM -0400, Theodore Y. Ts'o wrote: > At least for ext4, the primary problem is that we want to use a 64-bit > telldir/seekdir cookie if all 64-bits will make it to user space, and > a 32-bit telldir cookie if only 32 bits will make it userspace. This > impacts NFS as well because if there are people who are still using > NFSv2, which has 32-bit directory offsets, we need to constrain the > telldir/seekdir cookies we give to NFS to be a 32 has as opposed to a > 64-bit hash. Are there anyone still using NFSv2, BTW? One way of making the problem *much* easier to sovle would be to drop NFSv2 support. :-) - Ted