Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp390869ybi; Fri, 21 Jun 2019 01:15:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqyYh8xXBu3wpuYHFND0tbDDpIcv862iixqTnA8mZonG4K1gJt35OLc4LJM+1Sn50AJF+v2j X-Received: by 2002:a63:f146:: with SMTP id o6mr16694930pgk.179.1561104957085; Fri, 21 Jun 2019 01:15:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561104957; cv=none; d=google.com; s=arc-20160816; b=QxnBKfk7Z3kvZz4LjW0cCRqYG5R5ruiid3dYZE1W5mThr9+e4Uj130Hk967iD46ghO QPxRogBTFJak4RweWrwBvanXtoq4qCunGhLFoDxi6Y78FRhC7krzHrPsvEClgmKqNw33 ChlPN2vIINkBwK+dzWJGCz4hkih2DWnzy00iyUk7910LmTJFeFFZQsip45pLL3+9Q7F8 ocf61C+Wh7ZtaRbHmuYLNUFBwTpSdmLkW3MSvf096Mj62bg4PPAKCLc/XpkUzPu8L9Ud 3QhGeMLJYG0Zv1OC2qCxtni/Prxupkp1vT7avuf/9/+hZEJ7NbRs4SLKwVQW1FHvzeBg npGA== 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=gvbRTCQhZvqkaynZX02aoLCskbMv6rjKoYxxWYe5ZtQ=; b=essjjwpIvwuOrx8IkD/PCvotbOZsFlLB8IwVISnOXKmYmT/6+jKyxI2COeUryeHRLj 3mP6HV7D2jXlCf2ux9kB9nlNy1hmX584pctIg/WU+bigGp6BfF50iFJQkmogBZ6TB687 6gSTaaVB9aXWYgFaKmPaZqsdJWjh0VSVYxoPIrY52OhUsxqhev9d6CsHGTyyvDJKHLxv D2kOaDhPaGyFDz7Ew6Cv7ZMUYOw92HTN5Q3ejGYe9PbFp6ZuAcOkxjWT7IROcR1CbUhh QjF8VxnzLuMvoYw+Hk2y40kZ+nl1Sr01l3C9YHFUJlsUxCcuMrpxNBuliieQvx++1bGF wyVw== 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 g9si1786222pgs.364.2019.06.21.01.15.41; Fri, 21 Jun 2019 01:15:57 -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 S1726260AbfFUIPh (ORCPT + 99 others); Fri, 21 Jun 2019 04:15:37 -0400 Received: from verein.lst.de ([213.95.11.211]:36549 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726030AbfFUIPg (ORCPT ); Fri, 21 Jun 2019 04:15:36 -0400 Received: by newverein.lst.de (Postfix, from userid 2407) id BAE6368C4E; Fri, 21 Jun 2019 10:15:01 +0200 (CEST) Date: Fri, 21 Jun 2019 10:15:01 +0200 From: Christoph Hellwig To: Linus Torvalds Cc: Nicholas Piggin , Andrey Konovalov , Benjamin Herrenschmidt , Rich Felker , "David S. Miller" , Christoph Hellwig , James Hogan , Khalid Aziz , Linux List Kernel Mailing , linux-mips@vger.kernel.org, Linux-MM , linuxppc-dev@lists.ozlabs.org, Linux-sh list , Michael Ellerman , Paul Burton , Paul Mackerras , sparclinux@vger.kernel.org, the arch/x86 maintainers , Yoshinori Sato Subject: Re: [PATCH 16/16] mm: pass get_user_pages_fast iterator arguments in a structure Message-ID: <20190621081501.GA17718@lst.de> References: <20190611144102.8848-1-hch@lst.de> <20190611144102.8848-17-hch@lst.de> <1560300464.nijubslu3h.astroid@bobo.none> <1561032202.0qfct43s2c.astroid@bobo.none> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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, Jun 20, 2019 at 10:21:46AM -0700, Linus Torvalds wrote: > Hmm. Honestly, I've never seen anything like that in any kernel profiles. > > Compared to the problems I _do_ see (which is usually the obvious > cache misses, and locking), it must either be in the noise or it's > some problem specific to whatever CPU you are doing performance work > on? > > I've occasionally seen pipeline hiccups in profiles, but it's usually > been either some serious glass jaw of the core, or it's been something > really stupid we did (or occasionally that the compiler did: one in > particular I remember was how there was a time when gcc would narrow > stores when it could, so if you set a bit in a word, it would do it > with a byte store, and then when you read the whole word afterwards > you'd get a major pipeline stall and it happened to show up in some > really hot paths). I've not seen any difference in the GUP bench output here ar all. But I'm fine with skipping this patch for now, I have a potential series I'm looking into that would benefit a lot from it, but we can discusss it in that context and make sure all the other works gets in in time.