Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp4526885pxt; Wed, 11 Aug 2021 08:01:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxTp+Vr1UkVX+XRYl7hQCbJnOXwGyQqWdI/nkThsp5b+vKK2tvycWMyiccZ+JFjdXqKNWet X-Received: by 2002:a5d:9688:: with SMTP id m8mr206642ion.78.1628694094173; Wed, 11 Aug 2021 08:01:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628694094; cv=none; d=google.com; s=arc-20160816; b=cjblih0cghE0lLV0ncfsFlAYvvxVAThn2/1mHfFw0C/j4NIrCiY1sjSlDEEWZzg0in /ryi0KpqE708sqSi/hGzdlyE0SyhwWLI+FOMqhZ2Wff1KYCC01A1mgO6NdmMXR86HS7w e2NEPQ1oiJThVXJabjAvzS/YRZgORPbsC/GaBsYr1d/tfNsQq6u9M9eMk8MsxgH5FaSQ cHDc69sGxywytTMr4jR2JWHmtQn2RDF9XBiItYm/9FB40DY2ZaX8BKIroGbUFY+8PUi3 c5bU/JXdahgQLLu7orTotH1KuLRBg3xEA5U6DKTIYBXSQlK3ZHzNPp0u/MFIZd04TVaY f79Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature:dkim-signature; bh=MciToW3SFUh+Fm8yPjWHXnDJfhQxrSPXbDGjkDcJjIU=; b=cg5xByBo7SCHg/DIZcxI2JpUQl0Koe8YTX9f9/Wy/XoSLO6qzWkD2SKHXdI9821ktl jIjz+OkaVNEcYbmX4/DTMUEBbl2xPFrp6hVhu79JRhf1GepWhxgnP9kb3NqjWVg6Mka5 X1s6UBZousq2xpYgB6R8hY+2vH2qIU8Rna1AupW8cVka+Oo5MdwpW85LXnxqH9J8Ybtk PIPJ6saypHPFALYmH0V/K2sFiJSMeIEZ80TAkdq68vQno6CccxYgHr3+fhWkjhzNOCpf DbM+DGbz6NZ/AQni/J6xXt2YhnTwpnfbqgKJc3n5FCulK7Q/VpYznCDqfPM0qSdS/ZJj bA8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=T2jopGmE; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519 header.b="ob/f2cK6"; 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 ay15si6648288jab.111.2021.08.11.08.01.14; Wed, 11 Aug 2021 08:01:34 -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; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=T2jopGmE; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519 header.b="ob/f2cK6"; 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 S232842AbhHKPAZ (ORCPT + 99 others); Wed, 11 Aug 2021 11:00:25 -0400 Received: from smtp-out1.suse.de ([195.135.220.28]:60904 "EHLO smtp-out1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232753AbhHKPAY (ORCPT ); Wed, 11 Aug 2021 11:00:24 -0400 Received: from imap1.suse-dmz.suse.de (imap1.suse-dmz.suse.de [192.168.254.73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id A22F9221BF; Wed, 11 Aug 2021 14:59:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1628693999; 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=MciToW3SFUh+Fm8yPjWHXnDJfhQxrSPXbDGjkDcJjIU=; b=T2jopGmElVX5HHcg6MVQqGTHem4aEPi/TYzg0HO9JBSCcTpDMJugMz52Voctr68lF4/zFN 21JGiJqaz/Jk8tfyt6TmAww+DrNuYOwOSeGJZCY6VMOHnglvNu4ukUjrxiFdYORRNnzwiZ IajSUbamGFAY+slF8Nsdasx652it0B0= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1628693999; 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=MciToW3SFUh+Fm8yPjWHXnDJfhQxrSPXbDGjkDcJjIU=; b=ob/f2cK6yraH9NykvMqpK+NziI5y0mr5Xcr9z3otBhLXhhuiA3xml/n7G/w+Jq6LF0RKSj nIviqPxNoozVYoBA== Received: from imap1.suse-dmz.suse.de (imap1.suse-dmz.suse.de [192.168.254.73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap1.suse-dmz.suse.de (Postfix) with ESMTPS id 82949136D9; Wed, 11 Aug 2021 14:59:59 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap1.suse-dmz.suse.de with ESMTPSA id SzKSHu/lE2HeUwAAGKfGzw (envelope-from ); Wed, 11 Aug 2021 14:59:59 +0000 Subject: Re: [PATCH v14 060/138] mm/migrate: Add folio_migrate_mapping() To: "Matthew Wilcox (Oracle)" , linux-kernel@vger.kernel.org Cc: linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, Christoph Hellwig References: <20210715033704.692967-1-willy@infradead.org> <20210715033704.692967-61-willy@infradead.org> From: Vlastimil Babka Message-ID: <0c1cfbd5-9e1c-b801-642b-1eb313533252@suse.cz> Date: Wed, 11 Aug 2021 16:59:59 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: <20210715033704.692967-61-willy@infradead.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/15/21 5:35 AM, Matthew Wilcox (Oracle) wrote: > Reimplement migrate_page_move_mapping() as a wrapper around > folio_migrate_mapping(). Saves 193 bytes of kernel text. > > Signed-off-by: Matthew Wilcox (Oracle) > Reviewed-by: Christoph Hellwig Acked-by: Vlastimil Babka