From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 40816C433F5 for ; Tue, 23 Nov 2021 13:55:22 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id AF7A16B0071; Tue, 23 Nov 2021 08:55:06 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id AA7106B0072; Tue, 23 Nov 2021 08:55:06 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 998E66B0073; Tue, 23 Nov 2021 08:55:06 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0026.hostedemail.com [216.40.44.26]) by kanga.kvack.org (Postfix) with ESMTP id 87D026B0071 for ; Tue, 23 Nov 2021 08:55:06 -0500 (EST) Received: from smtpin19.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id 491A4812E603 for ; Tue, 23 Nov 2021 13:54:56 +0000 (UTC) X-FDA: 78840340698.19.439D894 Received: from gentwo.de (gentwo.de [161.97.139.209]) by imf29.hostedemail.com (Postfix) with ESMTP id 1D4F49000269 for ; Tue, 23 Nov 2021 13:54:52 +0000 (UTC) Received: by gentwo.de (Postfix, from userid 1001) id 38FA9B004D2; Tue, 23 Nov 2021 14:54:53 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by gentwo.de (Postfix) with ESMTP id 37BD0B00470; Tue, 23 Nov 2021 14:54:53 +0100 (CET) Date: Tue, 23 Nov 2021 14:54:53 +0100 (CET) From: Christoph Lameter X-X-Sender: cl@gentwo.de To: Wonhyuk Yang cc: linux-mm@kvack.org, Joonsoo Kim Subject: Re: [Question] The necessity of transaction ID in SLUB. In-Reply-To: Message-ID: References: User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Stat-Signature: iozrhq3qj4rker5far9fji5exy6on8gw Authentication-Results: imf29.hostedemail.com; dkim=none; spf=none (imf29.hostedemail.com: domain of cl@gentwo.org has no SPF policy when checking 161.97.139.209) smtp.mailfrom=cl@gentwo.org; dmarc=none X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: 1D4F49000269 X-HE-Tag: 1637675692-224896 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Tue, 23 Nov 2021, Wonhyuk Yang wrote: > Yes, that's why transaction id is made up of two part CPU id and event id > (To guarantee there are no other events and migrations). > And the guarantee is ultimately to protect cpu_slab->freelist. Well that is the way it was initially because I thought along the same way. You can simply revert the patches that introduced the TID to get that version back (and the races too.....) if you want to try.