Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3202415ybi; Thu, 18 Jul 2019 23:02:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqzBxnS+uskeqdOVbhfx6U++gB3MugYx5JwEalzRnzAFf+X9PE4DbOSh00/AlaNilU7wSKN9 X-Received: by 2002:a65:420c:: with SMTP id c12mr52308677pgq.125.1563516144906; Thu, 18 Jul 2019 23:02:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563516144; cv=none; d=google.com; s=arc-20160816; b=Vpw3dM+25iBfZPj43rak2MdfnxtdqqcbtVPPll/KSA6cT4Hm9T736hP6VleydfIM0j wicm+mlHFYcNXXmA+L/1efZ23o19jHXSb0hRU3sqNJO5pGv+ODw5CcedYwlr4KQ4k9G0 I/tQtXknCawfhXzeqWqbRQ9ZakxL6HbAKPeP4eiOL3ktc2BpNcTQE3hhI1fH/Jz+iFvn FDDz7ycLdw4z/1kB5Ifd/wwm/paqqKN492mJBAm4aTPsGM0Lhw6N4eyRwG9MduvEz2jC L+Oeijd+tGgZvSNFth/d/8wPPPzEjJUSnd/CQAV9loCRR8RDRaw0IFGT+TTZ5BpL3g/F I7Bw== 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:message-id:subject:cc :to:from:date; bh=E4NOZhc2hlM+rYFUuQgA7cOpDpsOPnWnLITEIegWhEE=; b=jQBASDAweVsoS/WUcIUTqbyR32L+NwxGMaJdmAb7Py4rBrg9JPiLA56VucEav7wZEW k3D8wXkwzXQYD9TA/znPjJUv4ZH8hJrvFUn0t0PRJgkdfeRC76iOaaaLIXkC7M7BgiEo ASsBWyv7INA0orEy/XFe8QFnohjOI04pURASGHl6lykOmrDP1FvmsvoEvuGLmd2usXhK MQ2LMUeqJbgaUA6T6G2uyU0zU5YvL16LIjIi02WYivV7PSlb1CFIhoIuskVUdlAEN6Ld +qyLwwBdftPhyhSJpleik4LZYFa/WI+PBRBL7Q/n+rOA3iIVbs0ICZtwhoN1p1/RWQ4t 0xSQ== ARC-Authentication-Results: i=1; mx.google.com; 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 r18si18973968pgl.173.2019.07.18.23.02.09; Thu, 18 Jul 2019 23:02:24 -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; 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 S1726773AbfGSGBC (ORCPT + 99 others); Fri, 19 Jul 2019 02:01:02 -0400 Received: from verein.lst.de ([213.95.11.211]:37200 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726072AbfGSGBC (ORCPT ); Fri, 19 Jul 2019 02:01:02 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id 2F96268BFE; Fri, 19 Jul 2019 08:00:55 +0200 (CEST) Date: Fri, 19 Jul 2019 08:00:53 +0200 From: Christoph Hellwig To: David Miller Cc: ldv@altlinux.org, hch@lst.de, khalid.aziz@oracle.com, torvalds@linux-foundation.org, akpm@linux-foundation.org, matorola@gmail.com, sparclinux@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 09/16] sparc64: use the generic get_user_pages_fast code Message-ID: <20190719060053.GA18491@lst.de> References: <20190625143715.1689-1-hch@lst.de> <20190625143715.1689-10-hch@lst.de> <20190717215956.GA30369@altlinux.org> <20190718.141405.1070121094691581998.davem@davemloft.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190718.141405.1070121094691581998.davem@davemloft.net> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 18, 2019 at 02:14:05PM -0700, David Miller wrote: > From: "Dmitry V. Levin" > Date: Thu, 18 Jul 2019 00:59:56 +0300 > > > So this ended up as commit 7b9afb86b6328f10dc2cad9223d7def12d60e505 > > (thanks to Anatoly for bisecting) and introduced a regression: > > futex.test from the strace test suite now causes an Oops on sparc64 > > in futex syscall. > > > > Here is a heavily stripped down reproducer: > > Does not reproduce for me on a T4-2 machine. > > So this problem might depend on the type of system you are on, > I suspect it's one of those "pre-Niagara vs. Niagara and later" > situations because that's the dividing line between two set of > wildly different TLB and cache management methods. > > What kind of machine are you on? FYI, I'm pretty sure I tested this on Guenthers build test qemu setup in the end, which further speaks for the different machines issue.