Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1455989ybt; Sat, 20 Jun 2020 10:55:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyJ6guVfbcQ5y55RXEMVCXSafF+DFgzExBjeKAdAuikeQi0eXWp0ChFG9TVmKJn22oNQC6R X-Received: by 2002:a05:6402:3078:: with SMTP id bs24mr8936813edb.284.1592675729639; Sat, 20 Jun 2020 10:55:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592675729; cv=none; d=google.com; s=arc-20160816; b=VrHrRAQSsPsbGW9EFWqn7o5wcTPlcet8RFe/P3R3rN4Iig8oSErrFirrGZ4D5TDBms eVOhFchPemPUM7I+5vCNO+a093+719FNli/J6cpzFDqQZVzHSIkvbYfMbtqGLaVqVC0t ix4lBRMH1BAaiQ+cgO3QSU31U9uHgiwRiA7kThC7AI1U41DeG/DbWdpZhYH8kIFRz35B k0bih0JYT55pO3m5JeA67D7HxnD5DbmPqKrhTzyrgAUCFu9WVdd8aKOMLihvLYFVxFWR yzJVtIuyqFrB9ZE3IW70O0urx0jiWyAmuYtmc9ivWJ1KBnlZFESG16VC9u2ieZhweRHR kkdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=rw44qjrMFmBDRvnMPg4gkmrn1yIH4AjuHTLNJbCwI1k=; b=PNlTtvCBE0Ocq1AaKdXl8ds7PAdzPL7aqa4/bp//U40/pm5o9R6qn3yn14U7VaNnQt MKelJyF++2va3LrPFrjKDE7qbf59TQMGpXeLTfJETcFUH4Yu7r2Ng8MTxxfbw21BjYEL VlKFzY9AyH35HP/5u6xM7w/RJzU5dwHhg/z4M5Y4QqcOgZg6h6yQPunWJHtTbvv8Wv2/ DO1DDE1v1dzYPkptzXzCQEwud3fTkVCFMP9OOaaqvx327r2kT9VwA56aXFgE+w4Yoqiu FMOtbsCW24mpLPpG8ZkM5Ej7XmQ8iapRJBtb5xGtD4lJDiCKdCwcvtpf/R2Fijz8wL2l /z6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=GdLj8pr5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b18si298002eju.78.2020.06.20.10.55.06; Sat, 20 Jun 2020 10:55:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=GdLj8pr5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728389AbgFTRvw (ORCPT + 99 others); Sat, 20 Jun 2020 13:51:52 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:38371 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728346AbgFTRvv (ORCPT ); Sat, 20 Jun 2020 13:51:51 -0400 Received: by mail-lj1-f196.google.com with SMTP id 9so14963931ljv.5 for ; Sat, 20 Jun 2020 10:51:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=rw44qjrMFmBDRvnMPg4gkmrn1yIH4AjuHTLNJbCwI1k=; b=GdLj8pr5S7cigC4cW+Xmxd38FrVQGbVitJGT9j7Q5GXeusFmgKX8LlgD6DzMflaUnu qQs/SLBfxFvz+tDtG/rljCMnv8zcDSp66pAREwA6hSY6HnWUarFujX3/l7KxQzHbR5zr LP0+ZM1GtqvmvOCGfqguHi3FbKw9iUoe5Q4Ac= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=rw44qjrMFmBDRvnMPg4gkmrn1yIH4AjuHTLNJbCwI1k=; b=JrQwOWQMav3DfwEh//vSjIddmmMQMFScQPMTfh9poBF0+l9njMfGID727rml7GV+eI gkVuyr14LffQKs/Drp6tOt9SZmXkzEOUm0KqvxidlFAJPVYqC9YMfev+uhuxRJpyY0ZE 874Uj4ncHSYQ/5dWpsfSKFhLl/I7wCOdXgsJ/nde41D7uS4G0hrfZa7nJ9WCxHh9qSzt hCcNhcgsKp4kPmCHDdvCGeu6+HfHO9AVjNDdUBX3dzF7oZHYSpODvZMc/2bisdHpyhJU YzSIY7VlbPSjoyyLRE19lkNiOT/HnClBPZCaHJyx3BHW7/NyvUIA+hVRc3Fc6qZUf+KV LWEA== X-Gm-Message-State: AOAM532QxsBQRQMOC5PXz7iKyS4u3zZi6V/s/yTZlwfOhnNlmOy/oGWf IEo4KM0nkExwNXr1C2uOxJshLlz5Gx8= X-Received: by 2002:a2e:9586:: with SMTP id w6mr4314499ljh.318.1592675448775; Sat, 20 Jun 2020 10:50:48 -0700 (PDT) Received: from mail-lj1-f181.google.com (mail-lj1-f181.google.com. [209.85.208.181]) by smtp.gmail.com with ESMTPSA id q1sm1793774lji.71.2020.06.20.10.50.47 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 20 Jun 2020 10:50:47 -0700 (PDT) Received: by mail-lj1-f181.google.com with SMTP id q19so15011173lji.2 for ; Sat, 20 Jun 2020 10:50:47 -0700 (PDT) X-Received: by 2002:a2e:974e:: with SMTP id f14mr4489285ljj.102.1592675446808; Sat, 20 Jun 2020 10:50:46 -0700 (PDT) MIME-Version: 1.0 References: <20200619065007.GA3041@lst.de> <20200619074233.GA3723@lst.de> In-Reply-To: From: Linus Torvalds Date: Sat, 20 Jun 2020 10:50:30 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Commit 25f12ae45fc1 ("maccess: rename probe_kernel_address to get_kernel_nofault") causing several OOPSes To: "Kenneth R. Crudup" Cc: Christoph Hellwig , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jun 20, 2020 at 9:49 AM Linus Torvalds wrote: > > I'm staring at that opatch and not seeing how it could _possibly_ make > any difference in code generation. > > Which is the obvious next step: would you mind compiling that file > with and without the patch and sending me the two object files? Hmm. I did that here (well, I did the probe_roms.s files) and with gcc I didn't see any difference in the generated code what-so-ever. The assembler comments changed (because the line numbers changed), but the code didn't. With clang, the only difference is a slight code generation change in the end condition of the top for-loop in 'probe_roms()'. But that clang difference literally seems to be about instruction scheduling, not about any semantic change, although I find the code hard to read because clang has rotated the loop so it looks entirely different. Anyway, even after going through a compiler, the difference that Christoph's patch could possibly make is not obvious. So yeah, I'd like to see what the code generation difference is for you, since it seems to matter to your install for some odd reason. Linus