Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4295883pxj; Tue, 25 May 2021 05:00:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwFV1HSloOWw0iH+gdUhvl2BZi+KokaIVm5U+kyjePSKHtNstjSLCd+1zrYHqFpt1p+tjAw X-Received: by 2002:a05:6e02:5b0:: with SMTP id k16mr17610510ils.293.1621944057474; Tue, 25 May 2021 05:00:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621944057; cv=none; d=google.com; s=arc-20160816; b=llP/b4ndSYzLwjr558D4HSaZYGOGwZrcNe8JytQZbUNT06+hZzkXs+0dDxzskqALtq 5BCA0C6m0CS39iSj4EqbE1I7HW3AO43N4uitk4nmoyi+3gYrEZgAGQm4V2N2gMn7N+hd 8UvmvxlaJuma/1OQfaSpcO8SOG+fbEljPeFAQfE21POLeGuXTjV3p2jTFEVE0GV1sIIt cctJvXxQeokr859D1GZ5mvfhsqdr5pzogGQ06wMogta3Ok2KT5aYZZ1bT4BXQLqFSdFs hpUD7IuJzBgJzWCOqZfpyPX0JoGvF4gzoN+MsxeYe2HjH5P9KJviWl7N61P/8gGRrHl0 sRKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=2kvOItGy5rgYN8pAUCOgLbKpDDyngYoTzU9WGoscssY=; b=YqZM8Ss9aEfr6fBdNQZU7LjuqREAf+tLvyB4TSkQDE7lJ2j538WgABhOIsa6wPrF0S szCHsov1rF9oW+Bl1XvPOL288ih+hQ17+FvMpSU6HJSCEN/7h2t2uy52sZZ0ghCU2Bk/ uDWNp5bZ1C4okTZgMFt8vBh1veAy7KMBC2QrFWB4zFc9jvlyuo1dEgsLEHARrhLmBnUU eeaCYP1unZ9pDedC0OrVXLvDXNCBLY/yiWmDzDNfNwGmxgyCwXMrpjssgdiQ0tG3wx1h bGBLxqbOwo+cp1gU6jwrN6KwfVDSUIda5+vBWakJrogJbP0+kq5pyRTGV/tZKFHDZcVs rfOQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s13si2381413ilu.55.2021.05.25.05.00.40; Tue, 25 May 2021 05:00:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232208AbhEYMBc (ORCPT + 99 others); Tue, 25 May 2021 08:01:32 -0400 Received: from outbound-smtp38.blacknight.com ([46.22.139.221]:51591 "EHLO outbound-smtp38.blacknight.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231712AbhEYMBa (ORCPT ); Tue, 25 May 2021 08:01:30 -0400 Received: from mail.blacknight.com (pemlinmail04.blacknight.ie [81.17.254.17]) by outbound-smtp38.blacknight.com (Postfix) with ESMTPS id 156D21B12 for ; Tue, 25 May 2021 13:00:00 +0100 (IST) Received: (qmail 3817 invoked from network); 25 May 2021 11:59:59 -0000 Received: from unknown (HELO techsingularity.net) (mgorman@techsingularity.net@[84.203.23.168]) by 81.17.254.9 with ESMTPSA (AES256-SHA encrypted, authenticated); 25 May 2021 11:59:59 -0000 Date: Tue, 25 May 2021 12:59:58 +0100 From: Mel Gorman To: Vlastimil Babka Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, Christoph Lameter , David Rientjes , Pekka Enberg , Joonsoo Kim , Sebastian Andrzej Siewior , Thomas Gleixner , Jesper Dangaard Brouer , Peter Zijlstra , Jann Horn Subject: Re: [RFC 06/26] mm, slub: dissolve new_slab_objects() into ___slab_alloc() Message-ID: <20210525115958.GP30378@techsingularity.net> References: <20210524233946.20352-1-vbabka@suse.cz> <20210524233946.20352-7-vbabka@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <20210524233946.20352-7-vbabka@suse.cz> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 25, 2021 at 01:39:26AM +0200, Vlastimil Babka wrote: > The later patches will need more fine grained control over individual actions > in ___slab_alloc(), the only caller of new_slab_objects(), so dissolve it > there. This is a preparatory step with no functional change. > > The only minor change is moving WARN_ON_ONCE() for using a constructor together > with __GFP_ZERO to new_slab() which makes it somewhat less frequent, but still > able to catch a misuse. > > Signed-off-by: Vlastimil Babka The goto in the previous patch makes a bit more sense now Acked-by: Mel Gorman -- Mel Gorman SUSE Labs