Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp1016321rdf; Wed, 22 Nov 2023 03:29:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IEswYXWb7lS+qm1dlqwxA8KvE4ova2Cmj7gLHlyEVXurvAPhAPAZl8gF3poICWrgWJFYIt9 X-Received: by 2002:a05:6a20:38a2:b0:187:a4df:4e4e with SMTP id n34-20020a056a2038a200b00187a4df4e4emr1744248pzf.28.1700652586622; Wed, 22 Nov 2023 03:29:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700652586; cv=none; d=google.com; s=arc-20160816; b=uf5HkXtN+YBmjIZjFIE4NoHtWz7GK3nzESlVkd9c19TY6NsdwRpe/iac05e3OkuIa8 qjUOdhs4xmRL3b0WR8oXdIhxItLmX2UBJD0ljVo60HJKtPkBEDY9YhSQwyYZAhYXUKY3 Nh/9lT8wEXHjvq6cZMOh7zv6mo16F+uqEy3QDMZjsqBAp+7ZJmr2M9miPeEUTXBEQJ3V owDNa6b9GwPKtBgVI57Air0sxHGDmTFSIGUcTPVTRHv1zIvfp4yKP94PTxZLkMqooltQ 8WWbJLtXuOiGDZGfuLdbhh6R84kWhmnlvYDoMtH7zai+me2yJ/RivZgccnCtk+Hq4/7n x/LA== 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=Zu0rBac8VMrdbFEMbqZCpMGwHvEU6B6pmSqANXkl75A=; fh=qZOZ1KkvO1xMMhM3VY/c/ZhIWipOl4eisCiDskdtGt0=; b=QbRk2uLlpLt7tQnWXp5rAF9cqjNBdHdtvAJdhHLsbOnrspL8SyNOsfL7heEVA5KOKZ rPrOcMSa7T/IksmCBZ1GGIbqB3W/1ewhjkQ69cY/bxO/QFQKOpEKGsn/lJIUo8fd/jQO 2dAwpdSKSXSST3QIFGMaxqwgQ7FrjnDqwspEaHsNxx/tajFwmI4k/5pDPSJrdPq2VvIi SBkMIVUnZlkFKZ241op63yzfqn28MxGuXHfM0kTU66ptm2TTXgMU630DodNSHDs5b1Ja 1gkleUm+to6erIYqCDhoU3PB70uRTuZZZOh5cduiHjBs5WhGpFDHnwgnXSoQjMAI46DE NklA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jCBuicab; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id y13-20020a1709027c8d00b001cf7c82c00asi417352pll.499.2023.11.22.03.29.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 03:29:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jCBuicab; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 41CAC80A7E53; Wed, 22 Nov 2023 03:27:40 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343647AbjKVL1c (ORCPT + 99 others); Wed, 22 Nov 2023 06:27:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57842 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343602AbjKVL1a (ORCPT ); Wed, 22 Nov 2023 06:27:30 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 29EE4D8 for ; Wed, 22 Nov 2023 03:27:27 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F2425C433C8; Wed, 22 Nov 2023 11:27:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700652446; bh=Q7EDA56ebnC1dz/bS3pK4j1SAZ6zZU+SsLg6kzN3VwY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jCBuicab5eN/7loQy8rubKEUpqjuo8P3/jMJNWi62/qP6Eh3J9dVTe1nG/vDs8UNy 1CL1H/eTzPHHl4jJyPkaShetJrEYfALNS88SpjYMZqnWZOPGX1s7R5YeypWNu9BGHs D+HTmlYp82LG6M2oBNqGVHnYAesZgtRSZPfGNZpdblLHniHQk+sbPoim9kzpb1McTR oSWdrO7fWojSE3FfYLKFCsAG+2zn9qRuxJXoK4cFd/frzMpVAornxYvqRvfUszslqH KMLegllvfbIU2V28Suq+hihqbRbr14ZRuWYtYEwGKeBDDEaia9kFiu9Hr9MnUJHTa9 +JQ8Cew4tJvQg== Date: Wed, 22 Nov 2023 11:27:22 +0000 From: Mark Brown To: Vlastimil Babka Cc: chengming.zhou@linux.dev, cl@linux.com, penberg@kernel.org, rientjes@google.com, iamjoonsoo.kim@lge.com, akpm@linux-foundation.org, roman.gushchin@linux.dev, 42.hyeyoo@gmail.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Chengming Zhou , Matthew Wilcox Subject: Re: [PATCH v5 6/9] slub: Delay freezing of partial slabs Message-ID: References: <20231102032330.1036151-1-chengming.zhou@linux.dev> <20231102032330.1036151-7-chengming.zhou@linux.dev> <4f3bc1bd-ea87-465d-b58a-0ed57b15187b@sirena.org.uk> <83ff4b9e-94f1-8b35-1233-3dd414ea4dfe@suse.cz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="1h4O2PMLWdrJT9Mu" Content-Disposition: inline In-Reply-To: <83ff4b9e-94f1-8b35-1233-3dd414ea4dfe@suse.cz> X-Cookie: Slow day. Practice crawling. X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 22 Nov 2023 03:27:40 -0800 (PST) --1h4O2PMLWdrJT9Mu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Nov 22, 2023 at 10:37:39AM +0100, Vlastimil Babka wrote: > Can you try this, please? > Subject: [PATCH] mm/slub: try to fix hangs without cmpxchg64/128 >=20 > If we don't have cmpxchg64/128 and resort to slab_lock()/slab_unlock() > which uses PG_locked, we can get RMW with the newly introduced > slab_set/clear_node_partial() operation that modify PG_workingset so all > the operations have to be atomic now. That seems to resolve the issue: https://validation.linaro.org/scheduler/job/4018096 Tested-by: Mark Brown Thanks! --1h4O2PMLWdrJT9Mu Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmVd5ZoACgkQJNaLcl1U h9CRxwf8D5LmbkdF3hZYr7ZtHbfy5umdIWqn6+wENLFqP5DvsdRvfjS5kcSvTlE6 Rk/R9DR9fCWubOmZkY+N8MU98KhJoDWRu32KOS3zjsMSdhPOuU/Cbv/22k+Ric0a 2I5lJjrrLaoZjLTDBKpxsFVzka4N57+UBzYJYfu+iJz/viEV6DhGEuRBIobCB8uF 27/oHArtUuIzZJ0RDXUFAp39M3VSB+/l0yzXu+x0Jk0Tgwq/MbdfR2e6wwo9LHyK 0zlSYceqQRR0N968Rf6yUy2+fVAUrYNRMNOCrvyKW0gvj6+lPUo4XPM10ShVrz7d tnmTfwCxPpTR7LJ82VKYBm6YLRrayw== =Rnlh -----END PGP SIGNATURE----- --1h4O2PMLWdrJT9Mu--