Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp4054116pxb; Mon, 8 Feb 2021 06:56:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJye14BYmU/q+c/D0AM6+KG2CHCoF63gB7pNqVDftRL6wtkzf94DoC5pXo8o1EAMSoPNBoYL X-Received: by 2002:a05:6402:1013:: with SMTP id c19mr7202364edu.86.1612796169572; Mon, 08 Feb 2021 06:56:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612796169; cv=none; d=google.com; s=arc-20160816; b=MAcuxfZeDw+6ljtrRhjFi3MfnfJwisf5B3K15+CzgZk4rKDMofydrNSBZxl5mHvcz7 vQFJ9FmJwRX0drBiRPibd2EOP9UhvHRV+o2yWOC61/LFWXV1IgdkROgCpgzK2V5c4J2n cZphukKyhaLXnTPimflBBWszpwn+5l/1r7k7NggP9eBCyqbFNELbJRhW6jkwzZachgQW LlgzV9KqfXN4gFvbR4YbY211VeQtm91rnb7MdHBUFOOsXGX7T/0keMR+lRYfOMLUWVIB e/54XxoK+0gBYAyOoShjX6qrI34/g3ZuUSUdWJdWG6MSD24PzeiTQ7qgq5iGJKlv7WxN ZxEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=MGSQQh7XcPLEfgtPB18NZzc+Dr/CR2C3PSnVCbtQq3U=; b=FjTvstj4vCv2BVDIyc6b5UgSRIcF8bI74ox+ajCWNzEzv2e+GFPcHAFBRpotGZjZIa o8G0j4LDOsCuwISzsjX0VwdhNQXx3w0fAEjVsbd1n0gf6UE8ydlp37TtF9hOYFOlnvNS IJWFxZBwiOAt2Seqd7F+vab4QecO0nLMsEeCcfWGKQHleeiBCl8TBf7ytRzKT9KYmGuR M/vV/8BApuFWTgjhpoZX+WuTdLNKrv+ZeYxzodI4xYWdJLsjPZp1C3eX5oDG4MOUJ6wp wr5Bb8qu9Yx3yVsQo2FQRq5BDSM4sGgJ5OPcse3D7YJxkrD1x+k4gzWnn3cz2ruLp0iv FOiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dmKAJz9v; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t16si15216912edi.281.2021.02.08.06.55.45; Mon, 08 Feb 2021 06:56:09 -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=@gmail.com header.s=20161025 header.b=dmKAJz9v; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232452AbhBHOyp (ORCPT + 99 others); Mon, 8 Feb 2021 09:54:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47906 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233013AbhBHOxf (ORCPT ); Mon, 8 Feb 2021 09:53:35 -0500 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 051DAC061797 for ; Mon, 8 Feb 2021 06:52:49 -0800 (PST) Received: by mail-ej1-x62b.google.com with SMTP id w1so25106709ejf.11 for ; Mon, 08 Feb 2021 06:52:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=MGSQQh7XcPLEfgtPB18NZzc+Dr/CR2C3PSnVCbtQq3U=; b=dmKAJz9v6XnfdsYdWp/Mr2MWdr3HbGpkHxPNPT2xuvOQ4oG6fhS5q1kRMJ6Qu6nC8a easeDqgPgje8NaGFm0GaaMmf7P+FiFDlliSdkGIGQN18Az/B4jfMl40mROcckVUXE/+i piX+e64GSdhQwDprx1ER1YMKyI2nT2nhTqsxu3+KaKViAiqaoFJY+Dn31e/3BHwUze2N kO7wB0UhHTqxaCH4Ze98gqH1pXJHYcKPQT/25o9I7ngw8wXG2O9XMfbkT+WJYhdOx1fe iB2ul5xoJwbVc0B6iFO9DQInFsTkDFxDhjxMJiRFZLnB/YrgTK/t1ozzO8aIU+zTSvut h5CQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=MGSQQh7XcPLEfgtPB18NZzc+Dr/CR2C3PSnVCbtQq3U=; b=jofC8wf4V2LvYf6dnS+gr9bVPq+WSBcrtFs3tK7caMYYRettd60qXoidKzNcOe6KM4 noIJ/0Fr+3YKPqNmst8aBeC/e/kFafjuRIBHLXO2fL72pejKxoOxp5NGCMbDdkNZ4zBI +ymIrWZyXjHYC9soVESV3S6jVk0HbPOZGnGrwGTJYU0pAsy0a9vKW5Id63sYgwiqBruE Fu8w4Y8xdik+Pk/+2Y42yOOzgQI/9OVvYnRcpUgtGc8qdlWOZCP4P3iAmIX/PfKpILl9 A8D5739uG8wC0YDUMV8XN+lXfoxsXwwtz6Ic+yxnEG/dulUkTkC18G7H1BpJbFTdtPvW 1AFQ== X-Gm-Message-State: AOAM532KAB1ANQcCO4Uv2/8cOUFQr4d5QLJ7mr3uex6R2HGyZJGPuno2 KqjN+yt6OhTkvKzCuecgZA== X-Received: by 2002:a17:906:d0cd:: with SMTP id bq13mr17114727ejb.75.1612795967792; Mon, 08 Feb 2021 06:52:47 -0800 (PST) Received: from localhost.localdomain ([46.53.253.245]) by smtp.gmail.com with ESMTPSA id b25sm8086948ejz.100.2021.02.08.06.52.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Feb 2021 06:52:47 -0800 (PST) Date: Mon, 8 Feb 2021 17:52:45 +0300 From: Alexey Dobriyan To: Peter Zijlstra Cc: mingo@redhat.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/5] sched: make struct task_struct::state 32-bit Message-ID: <20210208145245.GA11701@localhost.localdomain> References: <20210206151832.GA487103@localhost.localdomain> <20210208143025.GA10066@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210208143025.GA10066@localhost.localdomain> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 08, 2021 at 05:30:25PM +0300, Alexey Dobriyan wrote: > On Mon, Feb 08, 2021 at 11:34:18AM +0100, Peter Zijlstra wrote: > > On Sat, Feb 06, 2021 at 06:18:32PM +0300, Alexey Dobriyan wrote: > > > > > Silently delete "extern" from prototypes. > > > > NAK, extern is right. > > Extern is only necessary for variables. Specifically C17, 6.2.2 p5 (linkage of identifiers): if the declaration of an identifier for a function has no storage-class specifier, its linkage is determined exactly as if it were declared with the storage-class specifier "extern". This is why nothing happens if "extern" is deleted.