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 0BEE4C47074 for ; Tue, 2 Jan 2024 15:58:31 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 9DE436B017A; Tue, 2 Jan 2024 10:58:30 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 98DDB6B017B; Tue, 2 Jan 2024 10:58:30 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 855C16B017C; Tue, 2 Jan 2024 10:58:30 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id 758A86B017A for ; Tue, 2 Jan 2024 10:58:30 -0500 (EST) Received: from smtpin13.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id 44B8F140835 for ; Tue, 2 Jan 2024 15:58:30 +0000 (UTC) X-FDA: 81634828380.13.A2382C7 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.223.130]) by imf25.hostedemail.com (Postfix) with ESMTP id B6943A000A for ; Tue, 2 Jan 2024 15:58:27 +0000 (UTC) Authentication-Results: imf25.hostedemail.com; dkim=pass header.d=suse.cz header.s=susede2_rsa header.b=qc48hXuJ; dkim=pass header.d=suse.cz header.s=susede2_ed25519 header.b=1+CQ2QQZ; dkim=pass header.d=suse.cz header.s=susede2_rsa header.b=qc48hXuJ; dkim=pass header.d=suse.cz header.s=susede2_ed25519 header.b=1+CQ2QQZ; dmarc=none; spf=pass (imf25.hostedemail.com: domain of vbabka@suse.cz designates 195.135.223.130 as permitted sender) smtp.mailfrom=vbabka@suse.cz ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1704211108; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=L5VdzNxWfUiPQaGjKTPFhqz0qYRJa99hDBE4EQZhj4Q=; b=KAH5VGL5ZtCjd5Dzi9k0aKYbvp4XeJNw9hrGyc2RsMl2GA6CbMCZHyJPaHSBwFWA06eHKg A2Qy7a2ySL+lInlYqg8QQHJj3U7UqnLKzdrMOnlWKbuq0hGDr0aMdLmFZB78OZdM6kUo8L POwtXWOAsiXDmaOXySFp/gbwyHPAYgQ= ARC-Authentication-Results: i=1; imf25.hostedemail.com; dkim=pass header.d=suse.cz header.s=susede2_rsa header.b=qc48hXuJ; dkim=pass header.d=suse.cz header.s=susede2_ed25519 header.b=1+CQ2QQZ; dkim=pass header.d=suse.cz header.s=susede2_rsa header.b=qc48hXuJ; dkim=pass header.d=suse.cz header.s=susede2_ed25519 header.b=1+CQ2QQZ; dmarc=none; spf=pass (imf25.hostedemail.com: domain of vbabka@suse.cz designates 195.135.223.130 as permitted sender) smtp.mailfrom=vbabka@suse.cz ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1704211108; a=rsa-sha256; cv=none; b=cMowElyL5BITA7zo+vGEwvwku8uSdGcNsSvfEHKUOM4iSByIDBfWaF8hYSYSRY63JCDt2N ZcJLYuI8+kGN6yF2AnS+MGf5PfZy2kg96kCs0kx/tk8AJrk7skE29lqlSlzMWxgvmpQNZo ViioK6ETPXXwunTQnEn/Cur5VoUJrQA= Received: from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [10.150.64.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id B5F0A21FE5; Tue, 2 Jan 2024 15:58:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1704211105; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=L5VdzNxWfUiPQaGjKTPFhqz0qYRJa99hDBE4EQZhj4Q=; b=qc48hXuJZIx8sgmMo0G+ziB0xeOM1/tKDShqWasV0HPv0fqzPKiyx89guZ+rbtxegFAvnx DaMCvjypTkZqm6a3V/cQff3B2p+vIO9ogumj0PbPB01cTPhzndvwnIiq48dPe15e3SBuZY VPDDxOLl4VW9p8z4MpD8yPVRcC6c8Xc= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1704211105; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=L5VdzNxWfUiPQaGjKTPFhqz0qYRJa99hDBE4EQZhj4Q=; b=1+CQ2QQZKRhfmd9L0Z6rYuEBPBQv+u9VnDv8xdigZHFYB6nu2wUlWO1x2ZBU7MT/zlOPlJ zqRykHmdYg80G7Cg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1704211105; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=L5VdzNxWfUiPQaGjKTPFhqz0qYRJa99hDBE4EQZhj4Q=; b=qc48hXuJZIx8sgmMo0G+ziB0xeOM1/tKDShqWasV0HPv0fqzPKiyx89guZ+rbtxegFAvnx DaMCvjypTkZqm6a3V/cQff3B2p+vIO9ogumj0PbPB01cTPhzndvwnIiq48dPe15e3SBuZY VPDDxOLl4VW9p8z4MpD8yPVRcC6c8Xc= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1704211105; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=L5VdzNxWfUiPQaGjKTPFhqz0qYRJa99hDBE4EQZhj4Q=; b=1+CQ2QQZKRhfmd9L0Z6rYuEBPBQv+u9VnDv8xdigZHFYB6nu2wUlWO1x2ZBU7MT/zlOPlJ zqRykHmdYg80G7Cg== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id A239313AC6; Tue, 2 Jan 2024 15:58:25 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id s0/zJqEylGWTdwAAD6G6ig (envelope-from ); Tue, 02 Jan 2024 15:58:25 +0000 Message-ID: <9b424243-8a16-46e3-bc01-133a3cacb800@suse.cz> Date: Tue, 2 Jan 2024 16:58:25 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 2/4] slab: Convert __kmalloc_large_node() and free_large_kmalloc() to use folios Content-Language: en-US To: Andrew Morton , "Matthew Wilcox (Oracle)" Cc: linux-mm@kvack.org, Johannes Weiner , Stephen Rothwell References: <20231222202807.2135717-1-willy@infradead.org> <20231222202807.2135717-3-willy@infradead.org> <20231227140107.c868d55966378862e5a7f3f2@linux-foundation.org> From: Vlastimil Babka In-Reply-To: <20231227140107.c868d55966378862e5a7f3f2@linux-foundation.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: B6943A000A X-Rspam-User: X-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2Y B7qa2YkTplfA/kP043CMrQuxXWKHFsE1TBbTpaIuE3vYWJSyNb8OBWiQL4r8FytDLWLyNQ/gkJspZsG/ownau/NLtmm9Mw7mInsO33+7lgLaKMA+krWL3YvZilL5nJFRRB6mUnzrl0baVcZ+xv4f03iwhWZpV4iqBTRCsb7m2y20VKkGzaaUDN6AFepFtyzJHjWUnqBPxy3Q0RQsatK+qcMkKtowtiWnnaqsoqnnWRqVWcrD1r/aHsbPjP4jSsNIoxu7F83jVX5L4KNCrdfvcvIPzUTqfaNnDhq6W5A1p3RRdoFpbRBGPRBXPkxYozliVGDXDRmQ9xhVznPym7/6idcpI4SFaHU0uF/JAla8kYF3KaFM= 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: List-Subscribe: List-Unsubscribe: On 12/27/23 23:01, Andrew Morton wrote: > On Fri, 22 Dec 2023 20:28:05 +0000 "Matthew Wilcox (Oracle)" wrote: > >> Add folio_alloc_node() to replace alloc_pages_node() and then use >> folio APIs throughout instead of converting back to pages. >> >> Signed-off-by: Matthew Wilcox (Oracle) >> --- >> include/linux/gfp.h | 9 +++++++++ >> mm/slub.c | 15 +++++++-------- > > This depends on changes which are in Vlastimil's tree and linux-next. > So I reworked it to not do that, which means there will be a resolution > for Linus to do, which Stephen will tell us about. It's simple, just > from code motion. Basing series on a specific tree (mm in this case) and not whole linux-next would be the way. But also Matthew said in v2 he didn't expect the series to be picked up for 6.8 at this point so it was fair to use linux-next for review, and for a final posting for 6.9 it could simply have 6.8-rc1 as a base. > Maybe mm.git should include the slab tree, I haven't really considered > what would be the implications of that. I think this cycle is exceptional in that SLAB removal is unusually large, so normally there should be little to no conflicts. We can revisit if this becomes more common?