Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1287434iob; Fri, 29 Apr 2022 01:51:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwZ9pwh6ww53llwLug/kv1fDZ23vZiRy+UNZw7Y0twK8CfaLv2d/KWVDGNFmrFWSkl/LM2e X-Received: by 2002:a63:60d:0:b0:3c1:7361:b265 with SMTP id 13-20020a63060d000000b003c17361b265mr6435573pgg.434.1651222275193; Fri, 29 Apr 2022 01:51:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651222275; cv=none; d=google.com; s=arc-20160816; b=Q/6rGQyinYsAYZ1wKgOgjHAyLgf1lVDn/tj7mtxTd9JqlodYh60E03KPKEb3t78GPT Gd3mlxBMPy5ekqFhzXIf2KZ/ADKuPnuanqEBFowWuOrzJHTmN0wA+hwnX4Ye/4S8dnRy ps5rIGknB7epokmUTTW9Yp3+mwlG52MVvoLwkbJ1FJLosR6lDevZAMgbXnJshlDnwkK8 wVISoPxxTOKxmOf5aWudsdiS/EjhGIiBbWwq81oN1pwcnNxvJjRRbXqyinryb7zRx6/+ J3+fUvWLCJfgWgniZSLmxWdnRMnt6jJQxF0kTDbhFd8WtZkEf1HI9dnGhDptJGMUPk3h IiIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:dkim-signature :dkim-signature:date; bh=D4IYzK4skMcshvqsyuOfqpCXfosOxqx0uW/iv4Scnbo=; b=TLfPqiUvG5618HVVb2esi9c1d8ezTO0nyxxuGMhEnPdjvpeuQUGEbzrni0my2VP6NT g03N7uju8pMJV3e4JgaKlbeRsl6iLrEBNC/ZayP9Jm58cQ/+VlTppzu2KQlidAivsczR ZOjDXJwgyGe/yxihexlnw5sz1SO3AIwzwbAVlHP0dlQgnzrhafp7JlwrXY7HvTe9ejoE ZrmHH5EiWXa/bhEQAeLbYwAx0Ujqw2mTwrG/fqq53tTKGuY9oMdfcLKlcCaKwPdg9+wz 5T6wNwamp+fpRDhN84c8bhee8HFYczwKgF7uFBC1e7jgCXni028IgQruBD0jrn6NDpKM qhXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=We0NfvK3; dkim=neutral (no key) header.i=@linutronix.de header.b=eIJZCZ63; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x64-20020a638643000000b003ab54e54914si6181790pgd.695.2022.04.29.01.50.59; Fri, 29 Apr 2022 01:51:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=We0NfvK3; dkim=neutral (no key) header.i=@linutronix.de header.b=eIJZCZ63; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350089AbiD1QiK (ORCPT + 99 others); Thu, 28 Apr 2022 12:38:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33204 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345895AbiD1QiJ (ORCPT ); Thu, 28 Apr 2022 12:38:09 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D91D6B1A8A; Thu, 28 Apr 2022 09:34:53 -0700 (PDT) Date: Thu, 28 Apr 2022 18:34:50 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1651163691; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=D4IYzK4skMcshvqsyuOfqpCXfosOxqx0uW/iv4Scnbo=; b=We0NfvK3dDgo1MmaO1oe+HaQNGlP+RYJTdR/JDmYFAQAfc5W65605nC5vH/9Z/XGUGBQAL foI+vP4bIwUDV+p1wk2f26qbnMYvoGiAMOS0edDSdpMb0S4HV8nZUA2a0wEG82aUZ0LVlI nbwE5WiFeKIXRgDwDGQ7Zjzdt8I5zT5yer39IKwRSFzTd5VS3foN45pvIqRA6rgdQjajbN nnyOPxGwhWlDWUjUTgNTQ/q/H2L6JkiaCOK0Tx5ZIs6Wb2e2KsBnJhxj6EEPd3tVFJF693 GSbIRee2Nve7KFCMU1UBGfFT4/v8L+3vWHyNqehXPpT+kqkPTkfTB3bubDS+BQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1651163691; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=D4IYzK4skMcshvqsyuOfqpCXfosOxqx0uW/iv4Scnbo=; b=eIJZCZ63DW+C5rUkw5LE1bT7Hm+mj2yYHcNJ9MaXuuBEwcCHruY1kdLsPbgIvrUunFaazH 0eABWJMEqSif0SDw== From: Sebastian Andrzej Siewior To: "Fabio M. De Francesco" Cc: Ira Weiny , Andrew Morton , Catalin Marinas , "Matthew Wilcox (Oracle)" , Will Deacon , Peter Collingbourne , Vlastimil Babka , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, outreachy@lists.linux.dev, Jonathan Corbet , Thomas Gleixner , Peter Zijlstra Subject: Re: [PATCH v3 4/4] Documentation/vm: Rework "Temporary Virtual Mappings" section Message-ID: References: <20220427183821.1979-1-fmdefrancesco@gmail.com> <20220427183821.1979-5-fmdefrancesco@gmail.com> <6442788.4vTCxPXJkl@leap> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <6442788.4vTCxPXJkl@leap> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2022-04-28 13:14:30 [+0200], Fabio M. De Francesco wrote: > > > + should be only used if it is absolutely required, otherwise > kmap_local_page() > > > + should be used where it is feasible. > > > > I'm not keen about the "absolutely required" wording and "feasible". > > That said, the other pieces look good, thank you for the work. > > I'll rewrite the last part of this sentence as it follows: > > + should be only used if it is required, otherwise kmap_local_page() > + should be preferred. Yeah, my point is that it shouldn't be required. Using a kmap_atomic() mapping only because it is not limited to a thread/ CPU sounds wrong. This shouldn't be a valid requirement. Therefore kmap_local() should always be the way to go. Anyway, I can live with that and hopefully that interface will removed soon :) You yourself, as you pointed out, removed a user or two so I'm confident that it will happen at some point ;) > Thank you so much for the time you have spent for reviewing and helping, You are welcome. > Fabio Sebastian