Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1028702imm; Wed, 8 Aug 2018 09:32:07 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxbmmodaVS1Fa6wk1ASsPElL/8Ykx3s3fORv51dGAwGSFxKxUa4P34WbMm+mCrD5Chpb9nT X-Received: by 2002:a63:4b1f:: with SMTP id y31-v6mr3325599pga.14.1533745927187; Wed, 08 Aug 2018 09:32:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533745927; cv=none; d=google.com; s=arc-20160816; b=IQ4bIH+iJmtD91srVRIqLYQaG0Fng6/MX/zdS7Dm71gPwnnvSd6jU9GBc1Ti6aw6UU 25L0fCncj5JPl6dMzA+Q90TVEciNwYHohOtDGXw2IjMxv7n4GCUfR04MLS/FApkYTrOR PNTjbB1XEJi+T+3BJyi0J5VrD8YoOfCvt0HTHXDfngN4cN+N1i+NK4CO37fNH+9WzNyC TyaTq6KY5JpBDf7VDYuV8X/o0qR0dphEBSeQLDuzYrjY4FUfFdgtmEJ288FwGxrPluOQ AeDwvB5g08jXMpBqxEas19bxiHkYl24Svalbhtmh5QdKR7STTGj/odEVRBM0Tie3kCSo Zduw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:references:cc :to:from:subject:dkim-signature:arc-authentication-results; bh=kUeFc97WJXgCc+1Fp2+BgBrpLVHxfUXTxrI3don+JBc=; b=ynCR6baZO9sGLjgHq2+INGYNqWcr5gi/Axp+YaWuv9VZ2a1Bf+bILojXtoZKfrHQbl yQXGh8ujhYnyHoDc0SqJzUO7Op/QNaarxsOMavbW/3G8Rhq/NszWVzFPa3lEXZXsJzC7 krurqcX34N3PHAbw2o0ovDQHC6BYu845pittsMh9058vZ7pkgereB4Qkc1f9y5V5R4Jj 7naqAUVo7YrLldjMfgOjRh/dQeh+Di2TPofycgX7aFd2YqPMBl1Z8N2+/o0HYg/7ml7I k/C+rk5nZD8IqI9k2tDS7iXqGqXpvX205+hqGZY+UP3PMbxsSBYptxyRE4pnF9UQ/8o5 I7zw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@virtuozzo.com header.s=selector1 header.b=RfHHpIcF; 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=pass (p=NONE sp=NONE dis=NONE) header.from=virtuozzo.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c32-v6si4487199pgc.129.2018.08.08.09.31.52; Wed, 08 Aug 2018 09:32:07 -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=pass header.i=@virtuozzo.com header.s=selector1 header.b=RfHHpIcF; 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=pass (p=NONE sp=NONE dis=NONE) header.from=virtuozzo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728434AbeHHSuw (ORCPT + 99 others); Wed, 8 Aug 2018 14:50:52 -0400 Received: from mail-eopbgr40120.outbound.protection.outlook.com ([40.107.4.120]:45343 "EHLO EUR03-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727069AbeHHSuw (ORCPT ); Wed, 8 Aug 2018 14:50:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=virtuozzo.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=kUeFc97WJXgCc+1Fp2+BgBrpLVHxfUXTxrI3don+JBc=; b=RfHHpIcFEF4WrU0gLk58J2HbsoK934Zit6M0EAh00ChMpOysh2NBz4DuDwMt8CWxdc5P0UpTaK36ya8YBFLoXzZyYJdeh6e3qg2HKNqLWRmQvHOksFZJxOEzIPLGivseii4pzeIR2c2XmrJUGOIkLuvemkaKXKJV994aYCyNfxw= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=ktkhai@virtuozzo.com; Received: from [172.16.25.169] (185.231.240.5) by AM5PR0801MB2018.eurprd08.prod.outlook.com (2603:10a6:203:4b::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1017.15; Wed, 8 Aug 2018 16:30:16 +0000 Subject: Re: [PATCH RFC 01/10] rcu: Make CONFIG_SRCU unconditionally enabled From: Kirill Tkhai To: Josh Triplett Cc: Michal Hocko , akpm@linux-foundation.org, gregkh@linuxfoundation.org, rafael@kernel.org, viro@zeniv.linux.org.uk, darrick.wong@oracle.com, paulmck@linux.vnet.ibm.com, rostedt@goodmis.org, mathieu.desnoyers@efficios.com, jiangshanlai@gmail.com, hughd@google.com, shuah@kernel.org, robh@kernel.org, ulf.hansson@linaro.org, aspriel@gmail.com, vivek.gautam@codeaurora.org, robin.murphy@arm.com, joe@perches.com, heikki.krogerus@linux.intel.com, sfr@canb.auug.org.au, vdavydov.dev@gmail.com, chris@chris-wilson.co.uk, penguin-kernel@I-love.SAKURA.ne.jp, aryabinin@virtuozzo.com, willy@infradead.org, ying.huang@intel.com, shakeelb@google.com, jbacik@fb.com, mingo@kernel.org, mhiramat@kernel.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org References: <153365347929.19074.12509495712735843805.stgit@localhost.localdomain> <153365625652.19074.8434946780002619802.stgit@localhost.localdomain> <20180808072040.GC27972@dhcp22.suse.cz> <20180808161330.GA22863@localhost> Message-ID: Date: Wed, 8 Aug 2018 19:30:13 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [185.231.240.5] X-ClientProxiedBy: VI1P189CA0024.EURP189.PROD.OUTLOOK.COM (2603:10a6:802:2a::37) To AM5PR0801MB2018.eurprd08.prod.outlook.com (2603:10a6:203:4b::21) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 0d59750a-1555-44c7-265c-08d5fd4c3b25 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989117)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(2017052603328)(7153060)(7193020);SRVR:AM5PR0801MB2018; X-Microsoft-Exchange-Diagnostics: 1;AM5PR0801MB2018;3:WYQnwQBiWlvh0VbDVY+SyiBBxJvVDURn1PaY/aqn62XfEB0vj2wsCp6TCaDeAOK8GQm987mSbJWZXNwxbYua0m+0i/CVMTR6yv64b4FVj3X5wufq6E9P98lqCyuaAV77Hozs7a/t6bjMA8dJi27osVQ5ylQifbCImVJD1dMjMHajSZOnZrJoBYCIIYngjPEB+OJ9CR+e2TNG9jcdBz29Q1mht+7zxqirEqjOhGhNsC2H3wg5rIrIbmq50gCtiZG/;25:moXS1b4YFIJCVHGfcyPbYSvr/+oMqVSOt0Dh/qmPbEtQUEsuhrch1JLG6tufWN9WKslCs8M1uQD9AE31QZkhtO9ZP/ti4Oit2UayqMf1O00XEg08+JR/ddvbs/CTx7+W6Ma0U+uZ+6uqdZfhxcrEMEwbBFY8EGqwgG6Tu/mAui5CgcFGBAicuYgMS8qMAHFkS+d5+Wh4UZAvML5VewSIDxC+khnBcrMU/hly7fTySxfjz+/ti24t5PGO6Z+jerqnmb605M+jP9ASRPjB0IilmohlLIYnChhKaSGLDeD5chu5Mqmny7KKoUx4+3Qeeagma4FyJKEQBvThzMBmrrX4uA==;31:a/Pv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Brg95bOfthcMDTo2YBQ== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040522)(2401047)(8121501046)(5005006)(3231311)(944501410)(52105095)(10201501046)(93006095)(93001095)(3002001)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123560045)(20161123564045)(20161123562045)(6072148)(201708071742011)(7699016);SRVR:AM5PR0801MB2018;BCL:0;PCL:0;RULEID:;SRVR:AM5PR0801MB2018; X-Forefront-PRVS: 07584EDBCD X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(6049001)(136003)(346002)(376002)(39850400004)(366004)(396003)(199004)(189003)(476003)(47776003)(229853002)(8936002)(7406005)(217873002)(7416002)(65826007)(66066001)(6916009)(6486002)(53546011)(65956001)(65806001)(11346002)(5660300001)(76176011)(50466002)(956004)(2616005)(26005)(77096007)(186003)(6666003)(36756003)(31696002)(6246003)(86362001)(305945005)(52116002)(486006)(81156014)(23676004)(14444005)(52146003)(2486003)(16526019)(7736002)(64126003)(446003)(8676002)(386003)(81166006)(478600001)(316002)(31686004)(93886005)(105586002)(3846002)(6116002)(68736007)(230700001)(106356001)(39060400002)(16576012)(4326008)(53936002)(97736004)(58126008)(2906002)(25786009);DIR:OUT;SFP:1102;SCL:1;SRVR:AM5PR0801MB2018;H:[172.16.25.169];FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; Received-SPF: None (protection.outlook.com: virtuozzo.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtBTTVQUjA4MDFNQjIwMTg7MjM6TnZKWW5nSTRXTExTVkZKL2l1dVh5S3R2?= =?utf-8?B?czBUWXBIeTEvMEs5aURSSTBMb3VqQW42UGFuOWVNTWxoV01LTGc2WkxNZ3la?= =?utf-8?B?WjhoYVJrVG5FLyt3e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HVmMQ==;5:RINFnLzNxr4Cs0qhnz4S/sn3mmr+jsebXkO+r7q3dPYaHeL2zLW29tNQHoQWA10Xcaouh47o70gQKbsN7EybMWeGITFn20DVe+ti+qqBoOBSFIsDns1YuWXE6qzHcYKVOoRztqsFdIO/LrJ7ZhGY7ANF5expwm0/+96ppc+jJgM=;7:P6pGh0zLWI2+9WL4TnsC8PmwVe6Ga6i0Kz5uEuR5Qp5VHEWfhn7V5+xdACb+n/tyT3JEr/+yXdn3y/KU9gzxkCJGIGkwvrh982xS5FzzPgHESa9TsNYqwet0GHiMPMfS6T1UCVpjdHZ3dARgqFVYIIDSm4oRM2I9tpn0pJiVo2Tm3MKv5CmbRm5bgILn2dcyg6MEO6lKVSYgCnBpwJ9RuWAXpuBVnZWVM1nFTWtSX9I6eWHnox5GBJoMdE5bpPEq SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;AM5PR0801MB2018;20:PbQVgU2BCCF7gRqd81EP8NuveVI7/+rcMgS6Gvk2OK2X/on1iBjtPWjNNVnTRqdUw8I5kaqfyRij9uDbeGkEpdeQTQYoOVL9ZV4R6XXD8HckhvX+VzUwTC30TAL3m2hVkub7KW3stTQSd3OqKH386sCWOQZ7wCM359E+UW04Xh8= X-OriginatorOrg: virtuozzo.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Aug 2018 16:30:16.5731 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0d59750a-1555-44c7-265c-08d5fd4c3b25 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 0bc7f26d-0264-416e-a6fc-8352af79c58f X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0801MB2018 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08.08.2018 19:23, Kirill Tkhai wrote: > On 08.08.2018 19:13, Josh Triplett wrote: >> On Wed, Aug 08, 2018 at 01:17:44PM +0300, Kirill Tkhai wrote: >>> On 08.08.2018 10:20, Michal Hocko wrote: >>>> On Tue 07-08-18 18:37:36, Kirill Tkhai wrote: >>>>> This patch kills all CONFIG_SRCU defines and >>>>> the code under !CONFIG_SRCU. >>>> >>>> The last time somebody tried to do this there was a pushback due to >>>> kernel tinyfication. So this should really give some numbers about the >>>> code size increase. Also why can't we make this depend on MMU. Is >>>> anybody else than the reclaim asking for unconditional SRCU usage? >>> >>> I don't know one. The size numbers (sparc64) are: >>> >>> $ size image.srcu.disabled >>> text data bss dec hex filename >>> 5117546 8030506 1968104 15116156 e6a77c image.srcu.disabled >>> $ size image.srcu.enabled >>> text data bss dec hex filename >>> 5126175 8064346 1968104 15158625 e74d61 image.srcu.enabled >>> The difference is: 15158625-15116156 = 42469 ~41Kb >> >> 41k is a *substantial* size increase. However, can you compare >> tinyconfig with and without this patch? That may have a smaller change. > > $ size image.srcu.disabled > text data bss dec hex filename > 1105900 195456 63232 1364588 14d26c image.srcu.disabled > > $ size image.srcu.enabled > text data bss dec hex filename > 1106960 195528 63232 1365720 14d6d8 image.srcu.enabled > > 1365720-1364588 = 1132 ~ 1Kb 1Kb is not huge size. It looks as not a big price for writing generic code for only case (now some places have CONFIG_SRCU and !CONFIG_SRCU variants, e.g. drivers/base/core.c). What do you think?