Received: by 10.213.65.68 with SMTP id h4csp272903imn; Fri, 23 Mar 2018 04:27:25 -0700 (PDT) X-Google-Smtp-Source: AG47ELtiH49qBNhyMcjlHY2UNu0q66ouSC6Oy2P2+9sDmOgPE9/8kA/OzYX5SjxSiXdHfOELMbOS X-Received: by 10.99.114.86 with SMTP id c22mr20394237pgn.72.1521804445170; Fri, 23 Mar 2018 04:27:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521804445; cv=none; d=google.com; s=arc-20160816; b=prgck0E4TjsVnI6wd+WlzsA7wFwf9WBpRxC5VxnLzJsCGHOvviCPhpkiMqC4GlwevB w+Cz663Qba19HtKD275L0GLg6HtsoiI39ljE+Zb3i5omkLsIDLqR1xkyDRG3/Dywsci6 DM0LJVNxp7s86RdCsPYpKHTZAfJlTQUj0OIqCKHUfDp2dxxciftathD8NHqNfmUGvc2g E5snAkO55YByDesVD9aYN67vfkK30rF1wAlVSPw8i4YfxSmPHlDB92sYDX+qNK+xMyJ1 0BYGmYQfxFOmCZzs6JySpWXsZc8rDg3SjEkoEtZqJWFnrt478ywwRSwxVxvb8B8WyWrt n/Yg== 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:from:references :cc:to:subject:dkim-signature:arc-authentication-results; bh=ptqazjhwgqyBU1UaFklcpTuUl/kBvk28ves3k5kVo7E=; b=Nd2gFEN0jV0BE+tq6IaOnP5h+FeaKe2XSxsjE6yFy8iuxRZqRz/ugd5rjoHwQlWlZc ApwzbwCP5swOyFvr0Ox3rgoUmtgBpvzipprcAg9Js97DPxeOAtBBMxmDxzc4p9bKU86H t2WnXTDRLoiSr23zt++GLQPt54JIFcQdG+HQ19paAqjY+1QoWUk3Qkkqh/5Z9sITan+3 qVZft5xMQUD09+rLaggExI25msZCv30TXv80zDvO2ZePk4UtH/9KgiuT72fx4+KpcTq6 9lhkBv+PJxOEYZBS3cpW8EfhImjB281WZjGAZkr6gAtTS5b7N7PjEKmKt84O0ebEMgW9 QfOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@virtuozzo.com header.s=selector1 header.b=Cx6ohFaM; 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 q12-v6si8996225pli.492.2018.03.23.04.27.10; Fri, 23 Mar 2018 04:27:25 -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=Cx6ohFaM; 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 S1755356AbeCWL0T (ORCPT + 99 others); Fri, 23 Mar 2018 07:26:19 -0400 Received: from mail-ve1eur01on0107.outbound.protection.outlook.com ([104.47.1.107]:9760 "EHLO EUR01-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752319AbeCWL0O (ORCPT ); Fri, 23 Mar 2018 07:26:14 -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; bh=ptqazjhwgqyBU1UaFklcpTuUl/kBvk28ves3k5kVo7E=; b=Cx6ohFaMHh1sMLSk76AI9RQSi4YVevdGtoO4BlbGHe8qGXEz/f5a95ZRECVu4QeKEedb+gSOXUcnWSSUqNKX4lyXkQN0PVPQo0ey4GhfMPyNxxu8f4Uy557q4jLqeS3xpUscda9HqWuLHIAWfO6/aDuW+Ij6qGcZhlhQsPZO2UU= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=ktkhai@virtuozzo.com; Received: from [172.16.25.196] (195.214.232.6) by DB6PR0801MB1333.eurprd08.prod.outlook.com (2603:10a6:4:a::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.609.10; Fri, 23 Mar 2018 11:26:07 +0000 Subject: Re: [PATCH 03/10] mm: Assign memcg-aware shrinkers bitmap to memcg To: kbuild test robot Cc: kbuild-all@01.org, viro@zeniv.linux.org.uk, hannes@cmpxchg.org, mhocko@kernel.org, vdavydov.dev@gmail.com, akpm@linux-foundation.org, tglx@linutronix.de, pombredanne@nexb.com, stummala@codeaurora.org, gregkh@linuxfoundation.org, sfr@canb.auug.org.au, guro@fb.com, mka@chromium.org, penguin-kernel@I-love.SAKURA.ne.jp, chris@chris-wilson.co.uk, longman@redhat.com, minchan@kernel.org, hillf.zj@alibaba-inc.com, ying.huang@intel.com, mgorman@techsingularity.net, shakeelb@google.com, jbacik@fb.com, linux@roeck-us.net, linux-kernel@vger.kernel.org, linux-mm@kvack.org, willy@infradead.org References: <152163850081.21546.6969747084834474733.stgit@localhost.localdomain> <201803231640.37BGHC6o%fengguang.wu@intel.com> From: Kirill Tkhai Message-ID: <17882dc4-3799-29f0-96ff-09a787f10bcd@virtuozzo.com> Date: Fri, 23 Mar 2018 14:26:04 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <201803231640.37BGHC6o%fengguang.wu@intel.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [195.214.232.6] X-ClientProxiedBy: CWXP265CA0028.GBRP265.PROD.OUTLOOK.COM (2603:10a6:400:2d::16) To DB6PR0801MB1333.eurprd08.prod.outlook.com (2603:10a6:4:a::27) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 24f2c4ec-1d60-4433-5c89-08d590b0e078 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(5600026)(4604075)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020);SRVR:DB6PR0801MB1333; X-Microsoft-Exchange-Diagnostics: 1;DB6PR0801MB1333;3:pqnl8GN3vFSqxInRUdnt1BAJNkmN2yeaC1rD9TnsOgclXDw0BXqVkjBHW5JzMB3N/XSEeS04C6RIYHBIrVw45RhdIrRq1BDo/KlRzAkKoft292A9Lw2LUTb5h2dUEbrV0M1GrOIkmfNu9NRTR95dnB6q8XiljY8H7erHNe5+My5LHDvx0iCVqszkG0z05BZ+0aE/nwQ1aTasujZvjwIsmnXewRUKq12Ltimz+Q/O1Ec94sN0UUr4Gq8/Xyrufrhp;25:8io/legKI3BvY4Qo1wU5GjxyW0zDvzbFa7gR2JGqkaJ4lK6pNEhol8Iq9DdJqUO+TGyJpPUP958/n7XRdcGj6fxdYPh7iqQUpHbi5lNk10YSPjZ1zbTnKb8x7+Rc5SlQULaz0xxNXBElzX7LFpAe2ZTQMicFN5GymhcKePlmq7UxUtnTonAHX52dV3HLonvV8hcLHpCuMofj9iNj0ptTQv+BmTDWQtVVZ5SGlvQM4wfBK5nA9xjZqiPtZOTdS9u50BLiK8Hm0IQYGwMLoWI6ocjRlU8azqUGDZS5+JEqyreKLTMbEyo65JI+EXy0D89VV2rIxRJXAETplRGyVZOs0A==;31:yWSZ0sFzJvdGEJevNxBRahbKujRFHAwuXu/pYsexXs4hHMPzWeCcSafdvX0jCbC0woqsg/rGtq2xgbMtV8lToy1IihDuSEb7S4Nx6DS6yTjj4o2sHlrS9UTVCv6fViBXFs96749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Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(166708455590820)(162533806227266); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040522)(2401047)(5005006)(8121501046)(3231221)(944501327)(52105095)(93006095)(93001095)(3002001)(10201501046)(6041310)(20161123562045)(20161123558120)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011);SRVR:DB6PR0801MB1333;BCL:0;PCL:0;RULEID:;SRVR:DB6PR0801MB1333; X-Forefront-PRVS: 0620CADDF3 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(6049001)(346002)(376002)(396003)(39850400004)(39380400002)(366004)(199004)(189003)(25786009)(39060400002)(3846002)(86362001)(7736002)(64126003)(52116002)(2486003)(23676004)(76176011)(52146003)(97736004)(59450400001)(305945005)(6486002)(2906002)(8936002)(53936002)(446003)(106356001)(5660300001)(8676002)(65806001)(81156014)(478600001)(65956001)(11346002)(6916009)(386003)(47776003)(53546011)(66066001)(7416002)(6246003)(65826007)(105586002)(31696002)(31686004)(68736007)(229853002)(58126008)(230700001)(6116002)(26005)(55236004)(6306002)(6666003)(50466002)(4326008)(16576012)(77096007)(81166006)(966005)(186003)(345774005)(16526019)(36756003)(316002);DIR:OUT;SFP:1102;SCL:1;SRVR:DB6PR0801MB1333;H:[172.16.25.196];FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; Received-SPF: None (protection.outlook.com: virtuozzo.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtEQjZQUjA4MDFNQjEzMzM7MjM6MklnQ255blJvQStwZkptY0toZThYYTRT?= =?utf-8?B?cDUwckJ6Z2dnZzNZU1dxdWpxU3d1SEpha3VpSXhhU3JxRzhIdEJuWk9wNXF4?= =?utf-8?B?cngwdTZkam54bUtoNGlNMUFnR2ZTckdXU2x5d1J2ZlU2NjZ5Tk9rVE5ETWs1?= =?utf-8?B?MC94Z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Lw2/fHPUoxEypQ+JIivlotYmDS5vrcdT6dCzEgDxyexf8wtVgrk= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;DB6PR0801MB1333;7:EZbW8prOT6aJVbeL2KA6OFYY8R8J+txPGdWDnYuG4DEbVb/aWXcpnIr7UoxMmsO88JW+T+73nTMicHaIRNuWDb6y4+pfwjRGiysUnWYi2gRrMJnrd2ubAKc5MwW+5JzUDu3gZOguPELQdqyI1UDGYfS5gBeoowHpHcSE+gBsk1GvzYykOwvqoVg/GI+nAYGBv+YMg3bHF/rqJlYQLFuFOqsIQ7Gmtbsntgo/C9vS9unE2hmhK8/2cBud4nCGHdVq;20:ZAATjH8zkKD/sklJG20QVjX1KoYPa7stmrhyFbydc4K9Tb95RjTiFvO8x275qVIOwQVYeiMkO2Nj7Io/06cUWNXWhsu38XXiDAJI/E39Dnm1KSpAcN/sll53WVRS0Dhxkb+2iq+rKhbK9G3mYJAzRc1MIJw7+kunb8mF0qtfuLg= X-OriginatorOrg: virtuozzo.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Mar 2018 11:26:07.6325 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 24f2c4ec-1d60-4433-5c89-08d590b0e078 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 0bc7f26d-0264-416e-a6fc-8352af79c58f X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0801MB1333 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 23.03.2018 12:06, kbuild test robot wrote: > Hi Kirill, > > Thank you for the patch! Perhaps something to improve: > > [auto build test WARNING on mmotm/master] > [also build test WARNING on v4.16-rc6 next-20180322] > [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] > > url: https://github.com/0day-ci/linux/commits/Kirill-Tkhai/Improve-shrink_slab-scalability-old-complexity-was-O-n-2-new-is-O-n/20180323-052754 > base: git://git.cmpxchg.org/linux-mmotm.git master > reproduce: > # apt-get install sparse > make ARCH=x86_64 allmodconfig > make C=1 CF=-D__CHECK_ENDIAN__ > > > sparse warnings: (new ones prefixed by >>) > > include/trace/events/vmscan.h:79:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:79:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:79:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:79:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:79:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:79:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:79:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:79:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:79:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:79:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:79:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:79:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:79:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:79:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:79:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:79:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:79:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:79:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:79:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:79:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:79:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:79:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:79:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:79:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:79:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:79:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:79:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:79:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:79:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:79:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:79:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:79:1: sparse: incorrect type in argument 3 (different base types) @@ expected unsigned long [unsigned] flags @@ got resunsigned long [unsigned] flags @@ > include/trace/events/vmscan.h:79:1: expected unsigned long [unsigned] flags > include/trace/events/vmscan.h:79:1: got restricted gfp_t [usertype] gfp_flags > include/trace/events/vmscan.h:106:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:106:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:106:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:106:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:106:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:106:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:106:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:106:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:106:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:106:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:106:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:106:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:106:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:106:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:106:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:106:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:106:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:106:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:106:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:106:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:106:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:106:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:106:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:106:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:106:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:106:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:106:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:106:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:106:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:106:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:106:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:106:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:106:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:106:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:106:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:106:1: sparse: incorrect type in argument 3 (different base types) @@ expected unsigned long [unsigned] flags @@ got resunsigned long [unsigned] flags @@ > include/trace/events/vmscan.h:106:1: expected unsigned long [unsigned] flags > include/trace/events/vmscan.h:106:1: got restricted gfp_t [usertype] gfp_flags > include/trace/events/vmscan.h:196:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:196:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:196:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:196:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:196:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:196:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:196:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:196:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:196:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:196:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:196:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:196:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:196:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:196:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:196:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:196:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:196:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:196:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:196:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:196:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:196:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:196:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:196:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:196:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:196:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:196:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:196:1: sparse: cast from restricted gfp_t > include/trace/events/vmscan.h:196:1: sparse: too many warnings >>> mm/vmscan.c:231:15: sparse: incompatible types in conditional expression (different address spaces) >>> mm/vmscan.c:231:15: sparse: cast from unknown type >>> mm/vmscan.c:231:15: sparse: incompatible types in conditional expression (different address spaces) >>> mm/vmscan.c:231:15: sparse: incompatible types in conditional expression (different address spaces) >>> mm/vmscan.c:231:15: sparse: cast from unknown type > > vim +231 mm/vmscan.c Yeah, thanks for report. > > 205 > 206 static int memcg_expand_maps(struct mem_cgroup *memcg, int size, int old_size) > 207 { > 208 struct shrinkers_map *new, *old; > 209 int i; > 210 > 211 new = kvmalloc(sizeof(*new) + nr_node_ids * sizeof(new->map[0]), > 212 GFP_KERNEL); > 213 if (!new) > 214 return -ENOMEM; > 215 > 216 for (i = 0; i < nr_node_ids; i++) { > 217 new->map[i] = kvmalloc_node(size, GFP_KERNEL, i); > 218 if (!new->map[i]) { > 219 while (--i >= 0) > 220 kvfree(new->map[i]); > 221 kvfree(new); > 222 return -ENOMEM; > 223 } > 224 > 225 /* Set all old bits, clear all new bits */ > 226 memset(new->map[i], (int)0xff, old_size); > 227 memset((void *)new->map[i] + old_size, 0, size - old_size); > 228 } > 229 > 230 lockdep_assert_held(&bitmap_rwsem); > > 231 old = rcu_dereference_protected(SHRINKERS_MAP(memcg), true); > 232 > 233 /* > 234 * We don't want to use rcu_read_lock() in shrink_slab(). > 235 * Since expansion happens rare, we may just take the lock > 236 * here. > 237 */ > 238 if (old) > 239 down_write(&shrinker_rwsem); > 240 > 241 if (memcg) > 242 rcu_assign_pointer(memcg->shrinkers_map, new); > 243 else > 244 rcu_assign_pointer(root_shrinkers_map, new); > 245 > 246 if (old) { > 247 up_write(&shrinker_rwsem); > 248 call_rcu(&old->rcu, kvfree_map_rcu); > 249 } > 250 > 251 return 0; > 252 } > 253 > > --- > 0-DAY kernel test infrastructure Open Source Technology Center > https://lists.01.org/pipermail/kbuild-all Intel Corporation >