Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp5321165imm; Tue, 21 Aug 2018 09:44:16 -0700 (PDT) X-Google-Smtp-Source: AA+uWPzUmB3xJMmH69zNIY/tWmY4Mbdoh/uW5D8wkGeeRuvmMlvZzjnwnUomyN/DAIdDahEf9DJO X-Received: by 2002:a62:6104:: with SMTP id v4-v6mr54078045pfb.122.1534869856253; Tue, 21 Aug 2018 09:44:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534869856; cv=none; d=google.com; s=arc-20160816; b=w5g/zjMbQSSbxLFn6WqY1rSyJU3mdVRBc9tPwC+q1uOpaSKOi5oF7nuCSg0nxk3oBd EP6gy/rGvhhbNAgAfqHEhf0nMMy7FpOqg9EeTJ2TNI3mSYAuZae/jPK6hDj+mlinqBVs RZiMM6P7Q4mo3GUAuFzRJtrQhZz5EhStiW2XqjkMX4nyD8+WJGRZ/jLXgYB4qwhKHHv/ /ro2noZ6QTE3aGK+ThO7S+33YespCwYUjU2SfXIR32CAKFeVRbFhYGQQYbR4MYB/AlN3 8sHc3du1q6x3o+8wQ6UOfsVxXsd9VUAuf4TZ6TTKgu8nziX7/AtaY0qa++M/McPi0rna LV8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=2XOSRmyYILfQdGy9o7ZG1Q8FlnqCKSSYncVUOZVSocc=; b=DvcBMZmYszvHsE0Wt9iihcoU1O/v4bTBq03UCvD77Z4ofNxb1zhKBu9dIF1k2puwF6 px9oJ4nNtmjNf9tRYnLffKgTM9hs+uys9w8Ga+mTDk2cfQpTKY3QBuVU4mUgfjKxGkqP FPD6xSw3MMt6sQSl51z5zBruWxEAan9cW1QCBQAcFQz37QuLVBjGqweYrsseCktJ2mOc 1Xvq3kioMQ6eMm+Ye0mYCl09AranXYtKt34MO2UyKOaDvcmifmVkf8zACFaFfqIDodPo Ef+qywuGZbyVre9GOLFq7z/WR8zzZ+nJqn/65SFtR5QzI55NPF29BdiInE9E0zjTJLQC q4GQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=h3UcOAqa; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 9-v6si13280754plf.374.2018.08.21.09.44.01; Tue, 21 Aug 2018 09:44:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=h3UcOAqa; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728058AbeHUTQ4 (ORCPT + 99 others); Tue, 21 Aug 2018 15:16:56 -0400 Received: from mail-yw1-f68.google.com ([209.85.161.68]:45758 "EHLO mail-yw1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727214AbeHUTQ4 (ORCPT ); Tue, 21 Aug 2018 15:16:56 -0400 Received: by mail-yw1-f68.google.com with SMTP id p206-v6so1210154ywg.12; Tue, 21 Aug 2018 08:56:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=2XOSRmyYILfQdGy9o7ZG1Q8FlnqCKSSYncVUOZVSocc=; b=h3UcOAqaaEgDeGKPgAwmOxtNMLQ50V0bjmua+KkaveSShAxSHJESbuYEWJuZh9UA70 x7OitKm+URmpnCRcxfsEUlBWEzMpbqCLc6P9gCdrzPNSBUmt0REzTqaDGd03DD7Ydx9t ZQcn5xC6GozbhKwfezQfyu00APDbEE3jSoIaq3aoZIQjJrpFALUtxOPEH25TM0awlGcd 3RhVvYk/Jz7NJ7a/wvjlr5JnoVHLNCjKaUllILocYcPSTgZ2pk6dFaaO/FBxRDAFxZ4F M2cRrQt132YHUCYCOJhWKATS/lIF0Y17kOfP3dSxEj8NsKDG9m/bUhqcUx7sYB0qPP1v 8gVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=2XOSRmyYILfQdGy9o7ZG1Q8FlnqCKSSYncVUOZVSocc=; b=Rr6nC1DSfjbfna/6RaAjSqYOo3xVH5F6/C8TRngX/fttb3BUfJ8X1JugvoH3rPhcgh dDph/sLa6N+AZ03lalYkmYDrvdnlyZG58gmHOzMSY7Z5vRkjZ2S9XsaMKCCLl1mtSKML X/XK3nxYD/rrH1wl2718bFLzP5Up2AknvFLBDbHTHiO/63x5U3Y8EM6H+8gHpSW05/7x 8SIl6oDFSKOqM1eXvv3Cj1Gv6OUPi7PIx24AxRQid/fk7cDTyRCmYtVtUiyRUdjhP3lr NU8j3W3oZ9b/l6qTRqG60J4XELrkiTia4A1O0SeeVKObsuIaPJLHdcSytFsJWHNe0CNI /d/Q== X-Gm-Message-State: AOUpUlEfFlbvk29P+3X6ui7gU/qJG+5ivD0zdiCQXy4URKwFiCfI+nAl KTKwnuGot2KsuHeetKHlcpM= X-Received: by 2002:a81:778b:: with SMTP id s133-v6mr9144610ywc.31.1534866974316; Tue, 21 Aug 2018 08:56:14 -0700 (PDT) Received: from localhost ([2620:10d:c091:200::1:9c5d]) by smtp.gmail.com with ESMTPSA id f6-v6sm6744577ywc.21.2018.08.21.08.56.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Aug 2018 08:56:13 -0700 (PDT) Date: Tue, 21 Aug 2018 08:56:11 -0700 From: Tejun Heo To: Alexander Pateenok Cc: Arnd Bergmann , Christoph Lameter , Dennis Zhou , linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] percpu: cleanup PER_CPU_DEF_ATTRIBUTES macro Message-ID: <20180821155611.GN3978217@devbig004.ftw2.facebook.com> References: <20180821134030.lycgq7l7czetdngs@K55DR> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180821134030.lycgq7l7czetdngs@K55DR> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, On Tue, Aug 21, 2018 at 04:40:30PM +0300, Alexander Pateenok wrote: > The macro is not used: > > $ grep -r PER_CPU_DEF_ATTRIBUTES > include/linux/percpu-defs.h: __PCPU_ATTRS(sec) PER_CPU_DEF_ATTRIBUTES __weak \ > include/linux/percpu-defs.h: __PCPU_ATTRS(sec) PER_CPU_DEF_ATTRIBUTES \ > include/asm-generic/percpu.h:#ifndef PER_CPU_DEF_ATTRIBUTES > include/asm-generic/percpu.h:#define PER_CPU_DEF_ATTRIBUTES > > It was added with b01e8dc34379 ("alpha: fix percpu build breakage") and > removed in 2009 with b01e8dc34379..6088464cf1ae. > > Signed-off-by: Alexander Pateenok I'm not sure this is a meaningful cleanup, but then again, why not? Can you please repost the patch to Andrew so that it can go through -mm tree? Please feel free to add Acked-by: Tejun Heo Thanks. -- tejun