Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp4493819pxt; Wed, 11 Aug 2021 07:19:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwmBXELuk53aIaXx+Mi9m7AiQh5cIxYfvrI843noeDdA63mzAQdTjRCTSIZXGN1m33VjsVW X-Received: by 2002:a02:a196:: with SMTP id n22mr4772410jah.24.1628691590857; Wed, 11 Aug 2021 07:19:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628691590; cv=none; d=google.com; s=arc-20160816; b=yLMdifO2ZQGijNRBfBvlray65Aesjk3+m01YZzH/yUAh6aSGWzKWLAbLJR48Fsxd4C DRPD+NxRBAX6n23GTeTBMKa443WjSvyb8nG+SIJGLcxaT32AEozrwZmjcJwH+uMrRp/h IG9AdnA22hjqANKamZ/hvOzTQWTgiV1RvB8j9tBS3AqIkD0RwfMfsiSkbuKvFNOg30J4 hTTjbSpAWgb9hmoz4m9LBZjbc8Jli1Hbfmftx3+uYEuysVYfrmGNefLvn9D+W9OTB+yI KXAEBgj029bztX7unS2OLr08UttnZK5lzesUrAGM02cF/SSk1Qw3KQQcvmyNbrqRI9th YurQ== 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=Xl723j198up04BkKn425KjWjCe12u51etMnxGBEI4+g=; b=hEF3GT3hDnr5VYmuGSs0HRq+7bNtV6xfj9QKg3gnV81lTUDUZ83nhNSdQZgaejUviH 5pmPL3QA93ddrnocou5g0Nz7hQtVNvMrWYs3APjbd3491zhEZ1oXwKZYADcWmUUs45BE R5j+CgUm+Q7YyoFCV1DkCOBK5r2vi8Sc9pNk7yC/o8vo+ZOicfAujrRzQCTHtqcwBEtz 19Vty19lpOyNiub69gQdyoir/dZPOCaYeLeT5Bu1SsDFZMTGHNAvSiu+vE7h2Hkq7PBh B9mrxSQm+iYG1V4iPlMcattebIClZ5ZY3nOX8R/0qGGzEafzhB7YprZjenAo9778JCnc F9Ng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=K1FsBpOG; dkim=neutral (no key) header.i=@suse.cz; 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 u15si28146963iot.89.2021.08.11.07.19.39; Wed, 11 Aug 2021 07:19:50 -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=K1FsBpOG; dkim=neutral (no key) header.i=@suse.cz; 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 S232347AbhHKORj (ORCPT + 99 others); Wed, 11 Aug 2021 10:17:39 -0400 Received: from smtp-out1.suse.de ([195.135.220.28]:55470 "EHLO smtp-out1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231991AbhHKORi (ORCPT ); Wed, 11 Aug 2021 10:17:38 -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 C638C220E8; Wed, 11 Aug 2021 14:17:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1628691433; 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=Xl723j198up04BkKn425KjWjCe12u51etMnxGBEI4+g=; b=K1FsBpOGGjzV02EWDXDQ4+ryuc6DeHzX59qTWNF0h5JJ7ciFeGp8Kbtru/9Vn3ZppmzUrR +eLR5Yj19geEiVVTdUUqSUgkxnrPx/0tIow64qoY6vj2NiIRhAflzEjUaznBB3tNVAhefb hYpgEs7lTFP1A3xIdPlf+V5l4bP92tk= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1628691433; 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=Xl723j198up04BkKn425KjWjCe12u51etMnxGBEI4+g=; b=+aNHMwa4n6002kVNEZAsrd203luLPCVWa1J/3Vgzu63aINrCe683sE2lmhWi6UuwVAGkgU HDIwAXTLoioKWtBQ== 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 B0C9513969; Wed, 11 Aug 2021 14:17:13 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap1.suse-dmz.suse.de with ESMTPSA id kdCWKunbE2FDSQAAGKfGzw (envelope-from ); Wed, 11 Aug 2021 14:17:13 +0000 Subject: Re: [PATCH v14 054/138] mm: Add kmap_local_folio() 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-55-willy@infradead.org> From: Vlastimil Babka Message-ID: <7644cca0-3858-5238-3566-46a7328ae611@suse.cz> Date: Wed, 11 Aug 2021 16:17:13 +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-55-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: > This allows us to map a portion of a folio. Callers can only expect > to access up to the next page boundary. > > Signed-off-by: Matthew Wilcox (Oracle) > Reviewed-by: Christoph Hellwig Acked-by: Vlastimil Babka