Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp903566pxf; Thu, 18 Mar 2021 14:35:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy+lSASp2bsFRy5RUcIpFGObhyFu+ZKkSvoVBctguXSGa+lh2zRSeyFLNpzT3+XMVSkR+91 X-Received: by 2002:aa7:d3d8:: with SMTP id o24mr6129503edr.165.1616103317532; Thu, 18 Mar 2021 14:35:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616103317; cv=none; d=google.com; s=arc-20160816; b=fOXnmmAr5cOCC/o1oSdkTFwmVeWlQhJffwzonagJUP8EEnI8GN6zOH7YekGBYLzVel usVZRUwYcGwyeAmolboxCbfAwYtPUdudfot4zydSl92anAJb/UrvutWpdAr4odoHLrhI DR6l/XNtgfxEooL8pYD0k5DdV27TIzWKJjja/xoJOQ3VZCjdL9fRwHYQy+ObIw2356RC h1PhdTNxp5F+YJ0LhTBU4TT+rYMgSY8Yo28paL+mfJP0iHmptvDamgVVc4upaLcgGaQ2 FwGWHvTCg6AChb9iM1JCOzF/FAOs5xNVU8IQbv1Hmm0Qzm2yEWd50F1PQbBe6c80CW2g JQvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=ICg0czeFXh1WlEUoHhlxbiCc/ubVjPvuS1kpY+HUIaU=; b=IBqI3jVo3NF6jfZle1YhixtLqNOvG3hn5o965X3GaQXsPifdPaHtnGly0LZpe7kdim J4TXujeMepBNvMly/7IA+e3Ip7rjpDzJqZBkzJiUq+cs2R0JSvnlxkCPPdCvLGlk61d9 cqb3c77+c7VjzxRdv2JVzn+DCFvfihRHrFcr7QOmVXbxPYbbfbJPasWswTd3e8WyPQBp sThMRnCAsCOur74PmV34ZykwlUKMWYpOiBEt433flVV/rh0WUzkSy3guTjVm2PDtO2Fq ts53vA2VdRXeq99om1Q3i35onyDRPHcg4Y6uckmTk1kRigTTMO6nyXUPZ0IclZVvETIz evuQ== ARC-Authentication-Results: i=1; mx.google.com; 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 sa4si2644572ejb.662.2021.03.18.14.34.54; Thu, 18 Mar 2021 14:35:17 -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; 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 S233170AbhCRVbt (ORCPT + 99 others); Thu, 18 Mar 2021 17:31:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33984 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233237AbhCRVbX (ORCPT ); Thu, 18 Mar 2021 17:31:23 -0400 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:191:4433::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A9744C06174A; Thu, 18 Mar 2021 14:31:23 -0700 (PDT) Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.94) (envelope-from ) id 1lN0E2-000JE2-TW; Thu, 18 Mar 2021 22:30:39 +0100 Message-ID: <90d11ebdb1f9e13387aa7699702da7e7fecec27d.camel@sipsolutions.net> Subject: Re: [PATCH 4/6] um: split up CONFIG_GCOV From: Johannes Berg To: Brendan Higgins Cc: Linux Kernel Mailing List , linux-um , Jessica Yu , Alexander Viro , linux-fsdevel Date: Thu, 18 Mar 2021 22:30:38 +0100 In-Reply-To: (sfid-20210318_222737_121554_AD23102C) References: <20210312095526.197739-1-johannes@sipsolutions.net> <20210312104627.927fb4c7d36f.Idb980393c41c2129ee592de4ed71e7a5518212f9@changeid> (sfid-20210318_222737_121554_AD23102C) Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.38.4 (3.38.4-1.fc33) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-malware-bazaar: not-scanned Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Brendan, > Hey, thanks for doing this! I was looking into this a few weeks ago > and root caused part of the issue in GCC and in the kernel, but I did > not have a fix put together. > > Anyway, most of the patches make sense to me, but I am not able to > apply this patch on torvalds/master. Do you mind sending a rebase so I > can test it? Well, if you see my other replies in the thread, I gave up for various reasons, see https://lore.kernel.org/r/d36ea54d8c0a8dd706826ba844a6f27691f45d55.camel@sipsolutions.net Personally, I ended up switching to CONFIG_GCOV_KERNEL instead because it actually works for modules, but then it was _really_ slow (think 30s to copy data for a few modules), but I root-caused this and ultimately sent these patches instead: https://patchwork.ozlabs.org/project/linux-um/patch/20210315233804.d3e52f6a3422.I9672eef7dfa7ce6c3de1ccf7ab8d9aad1fa7f3a6@changeid/ https://patchwork.ozlabs.org/project/linux-um/patch/20210315234731.2e03184a344b.I04f1816296f04c5aa7d7d88b33bd4a14dd458da8@changeid/ johannes