Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp348816pxb; Wed, 20 Jan 2021 08:25:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJxEGqVFE3nTzuDq9Y+aHmMP0eJCo/sG78a+t77Ab/wrBDlueagwSLysv5hEq6mLsCSHXG1Z X-Received: by 2002:a50:fe86:: with SMTP id d6mr7985257edt.80.1611159901311; Wed, 20 Jan 2021 08:25:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611159901; cv=none; d=google.com; s=arc-20160816; b=pbWp4EdvRGnHCeuG2qyzD6msSa5YR3fhHVD8ClRMljDj+ZjNak+v2RZZSayTDrgIDO 2p9TBeX4moPyWMrBhL4/Ex/KMvWpEem2/x1Hl8UTNSO/2jLuWH7Mor6DP+A2l84ELHGU vMHQqJr8sRMYgEBS0oiEStPet+4AYYxh/kgcjLcpqPOzg9arKIG5hJQqtZbmPdHMtTE/ x2Sn7Q08KaFlB0X2mm4P9tgkrgLQVBBpDj+clE0fJGP9hgVAem9pTAiw1060wp7oYeUO BF1zlvScRNP9Z69E6dReCT/BvgU+ywM082At90/bBiiQTr9z+XFNJg5XcBtayoGxeViy R+BQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:date:message-id:from:references:cc:to :subject:dkim-signature; bh=CMe63OiaCb4tvijzumx1OkCOvIyJLoNXyCnrUNu6Er0=; b=rB2Ve7lwUA/cEhr1r/zhv9SYOEgew597Ed0A+H5XY0FWJQd6vSlS52BH+ZKVH6GPyu Q8odqOvrbnA9JfcksLfnSVkNCj/nxu8ER2JKEdbp3/s7BztiYTaHbYeOsYIOJoiTP3u1 TMOOZA6WIhHRTe1JQMrbP/aAMLgfTRB7dAkvxAWlYq5JTXq7yyqEQUhLQt21pYaz9sTq KXlIYxxvFy4/B1tX/UWasi/Wo0f+E6kOH8Mt/ygCuSFyNYVF2ZWydomVt+wVQ1ydKdlF q2akn6KzjeFArA3WaCD0RSEAgZGXfKS5Ak+a00FolVqSfyq6/QBsWtMImJ30dnOoYF3q h5Ag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=BlH54lqV; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w17si1154830edr.34.2021.01.20.08.24.36; Wed, 20 Jan 2021 08:25:01 -0800 (PST) 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=@ibm.com header.s=pp1 header.b=BlH54lqV; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731332AbhATQWs (ORCPT + 99 others); Wed, 20 Jan 2021 11:22:48 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:18376 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2403915AbhATQVU (ORCPT ); Wed, 20 Jan 2021 11:21:20 -0500 Received: from pps.filterd (m0098396.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 10KG4BAk123542; Wed, 20 Jan 2021 11:20:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=pp1; bh=CMe63OiaCb4tvijzumx1OkCOvIyJLoNXyCnrUNu6Er0=; b=BlH54lqV6clnWudq2Uc+frXAl7UnK1Daxu3zd0jJF258Cqj1GCyLgyZFyYHnpFybKNZY zxchJ3x2ldUSb3qj5S9pMLmbJ6hx8gOT/A4XhW4KAiE8aaJVe1Tn/FkYg1qaUBHXDM9g cCln2M5i5TsZWFPOCH/GsBk/tR/ovkCmRDoDlGAaiLyhAkhp56Yco+GxI3kHHCa++oJz O25iQiiu3G4FSzsdSrrSk+de1mVQBM5H8lAFgTkmIwRTM2F7ktFWdewHTEICMx9Su3+4 s10wiFg+YuVq5YffQQFZrju0X+pvz3IeVzSlCA/HizDgFL8/YvhNnGHa7Pu9X/r3RGbw 5g== Received: from ppma06ams.nl.ibm.com (66.31.33a9.ip4.static.sl-reverse.com [169.51.49.102]) by mx0a-001b2d01.pphosted.com with ESMTP id 366nfcdhpe-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 20 Jan 2021 11:20:30 -0500 Received: from pps.filterd (ppma06ams.nl.ibm.com [127.0.0.1]) by ppma06ams.nl.ibm.com (8.16.0.42/8.16.0.42) with SMTP id 10KGGbfj003917; Wed, 20 Jan 2021 16:20:28 GMT Received: from b06avi18878370.portsmouth.uk.ibm.com (b06avi18878370.portsmouth.uk.ibm.com [9.149.26.194]) by ppma06ams.nl.ibm.com with ESMTP id 3668nwru19-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 20 Jan 2021 16:20:27 +0000 Received: from d06av26.portsmouth.uk.ibm.com (d06av26.portsmouth.uk.ibm.com [9.149.105.62]) by b06avi18878370.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 10KGKJOc35979530 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 20 Jan 2021 16:20:19 GMT Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C1789AE059; Wed, 20 Jan 2021 16:20:25 +0000 (GMT) Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 6D1DEAE056; Wed, 20 Jan 2021 16:20:25 +0000 (GMT) Received: from [9.145.21.215] (unknown [9.145.21.215]) by d06av26.portsmouth.uk.ibm.com (Postfix) with ESMTP; Wed, 20 Jan 2021 16:20:25 +0000 (GMT) Subject: Re: [PATCH] init/module: split CONFIG_CONSTRUCTORS to fix module gcov on UML To: Johannes Berg , linux-um@lists.infradead.org Cc: linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, Arnd Bergmann , Jessica Yu , Andrew Morton References: <20210119121853.4e22b2506c9a.I1358f584b76f1898373adfed77f4462c8705b736@changeid> <8191aa4a-3bd7-5de7-1ad2-73b851128ff3@linux.ibm.com> From: Peter Oberparleiter Message-ID: <1232adfb-cbe8-5cfc-88bc-b8913d6a39c6@linux.ibm.com> Date: Wed, 20 Jan 2021 17:20:25 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.343,18.0.737 definitions=2021-01-20_06:2021-01-20,2021-01-20 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 phishscore=0 mlxlogscore=547 suspectscore=0 lowpriorityscore=0 impostorscore=0 adultscore=0 mlxscore=0 spamscore=0 malwarescore=0 clxscore=1015 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2101200092 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 20.01.2021 17:09, Johannes Berg wrote: > On Wed, 2021-01-20 at 17:07 +0100, Peter Oberparleiter wrote: > >> Do you expect other users for these new config symbols? > > Probably not. > >> If not it seems >> to me that the goal of enabling module constructors for UML could also >> be achieved without introducing new config symbols. > > Yeah, true. > >> For example you could suppress calling any built-in kernel constructors >> in case of UML by extending the ifdef in do_ctors() to depend on both >> CONFIG_CONSTRUCTORS and !CONFIG_UML (maybe with an explanatory comment). >> >> Of course you'd still need to remove the !UML dependency in >> CONFIG_GCOV_KERNEL. > > Right. > > I can post a separate patch and we can see which one looks nicer? Sounds good! -- Peter Oberparleiter Linux on Z Development - IBM Germany