Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp236755ybm; Thu, 28 May 2020 21:52:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJynI1GduWSSe8WHRqlKwqLlIxj/TS2BteUQl8tp3OlxRJDil9ijfKRQTpj4XI8z/HpWBFjs X-Received: by 2002:aa7:cb94:: with SMTP id r20mr6593834edt.215.1590727966591; Thu, 28 May 2020 21:52:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590727966; cv=none; d=google.com; s=arc-20160816; b=lnn/2unnR9UNkwBYMP1xNr1Vsr/pyvVsaHtbIo9y9jGeKz0+iL5MdQWf4H8Y9JsG0l VUy3tMEHJ8eBbmtz2ryBAWyrnHmdCf8knXOFZDFxoNzWTPySjnuG6ksc1mvjWWtgBh3Y a9zeEfdx9XijZsaDxXeseD80DQgTbacpCZVTaEYdwoqpHM5N8K4HXedaDpXjo5vGXMXJ yUqSdrq2kpMv2zO1bMynCL9rrUDN61i2gTavXjE0zR59FrZjk31FWA10W8T0Q85qp9I5 D2GXOSZ7ltiKVghA75dG8w5Cwk5FHps8j4dvbcI6U7/1pn0gkxNazuN9AZJXLa/BnjPi pq1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=vIdlsNk1thlgd2wJmYEsdZAcqlZDKs65gLXHa0aj9qw=; b=xdmHT+xcQWnASLl1bPqrwz9CJwhppAVVzlpwFW1nJ/0fgydYRUD9c8Eroc3Kn+Lsmr K9z8iHGLjvraZc8tad1bMLaWLigNpDeW9+cq3e/UNwF4RKSblyP/w+eYVF2QfoQo9y0P alqcQRW7d+Px5iUMb9r7RVA86hI+0oFBYdgE/o4WdEijEWtQnPqsaUhoxmDNVhzm3GNZ fYZPRXIpt29DhJPOYZ89Fx6BJuRkIjDGEBpdrjeoLTNNiCTpIsE8uFYFzxgXi1/lp7jS hls0tLKLtAT2LhrE7WbO8cSbEY0GmP/norRaxRvBc+bim9UuDF7oRNfWsSy1ez3xHmUS K+Dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=g2oVffvD; 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 dm19si6551636ejc.17.2020.05.28.21.52.23; Thu, 28 May 2020 21:52:46 -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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=g2oVffvD; 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 S1725865AbgE2Es3 (ORCPT + 99 others); Fri, 29 May 2020 00:48:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725601AbgE2Es1 (ORCPT ); Fri, 29 May 2020 00:48:27 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A15A5C08C5C6; Thu, 28 May 2020 21:48:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To: Subject:Sender:Reply-To:Content-ID:Content-Description; bh=vIdlsNk1thlgd2wJmYEsdZAcqlZDKs65gLXHa0aj9qw=; b=g2oVffvDUd+ewmKpTwyGrqdBQW m9Q42HUdyfcH5SEhjTGLhoAVvr/CzUpv4kaUeIUFckaTwsNhxtbtE3eEhlVUPjjG+zT07IjLyIVpa GMrSiqJuYtST3QVfTxnkTM7QmVym28LIPfGMmo0/EJf2bmeWKck1el+9a/0aWVpNOMgxA4mzSao7y 1MtjuUQ1cuCS+2QiNCu8HT8D0bq+sONjtS1do3wA/2nEFrt1y0gOPuxRf8SrhqXO0nGSb4JZUGHoR ZpNwcQ29YNw8qavBZgpRDCSFS4mqdV+eKb/fI9A2ISa9edrqsk2JXV5SVByg/CvzkxOA7GynRLNGV Gul9jxrg==; Received: from [2601:1c0:6280:3f0::19c2] by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jeWwP-0000he-7z; Fri, 29 May 2020 04:48:21 +0000 Subject: Re: next-20200528 - build error in kernel/rcu/refperf.c To: =?UTF-8?Q?Valdis_Kl=c4=93tnieks?= , "Paul E. McKenney" , Josh Triplett , Steven Rostedt Cc: rcu@vger.kernel.org, linux-kernel@vger.kernel.org References: <538911.1590725791@turing-police> From: Randy Dunlap Message-ID: <9d8b13db-9d77-416d-e283-9ea509ce43d1@infradead.org> Date: Thu, 28 May 2020 21:48:18 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: <538911.1590725791@turing-police> Content-Type: text/plain; charset=UTF-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/28/20 9:16 PM, Valdis Klētnieks wrote: > commit 9088b449814f788d24f35a5840b6b2c2a23cd32a > Author: Paul E. McKenney > Date: Mon May 25 17:22:24 2020 -0700 > > refperf: Provide module parameter to specify number of experiments > > changes this line of code (line 389) > > - reader_tasks[exp].result_avg = 1000 * process_durations(exp) / ((exp + 1) * loops); > + result_avg[exp] = 1000 * process_durations(nreaders) / (nreaders * loops); > > On a 32-bit ARM make allmodconfig with gcc 8.3, this results in: > > ERROR: modpost: "__aeabi_uldivmod" [kernel/rcu/refperf.ko] undefined! > make[1]: *** [scripts/Makefile.modpost:103: __modpost] Error 1 > > I admit not understanding why the original line of code worked and the new one doesn't. > Maybe gcc is smarter/dumber about the ranges of 'exp' and 'nreaders' than we thought? > Paul has already responded: (unfortunately) "So I am restricting to 64BIT for the time being. Yeah, I know, lazy of me. ;-)" https://lore.kernel.org/lkml/20200528180855.GP2869@paulmck-ThinkPad-P72/ -- ~Randy