Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1180675pxf; Fri, 12 Mar 2021 04:02:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJzViA29uvhZScfaq55KzNMqgucDdoThcUwI1xHRyu8PmNZndXIDxADodUZJdgR+t7OWwCCQ X-Received: by 2002:a17:906:f6ce:: with SMTP id jo14mr8224106ejb.476.1615550523803; Fri, 12 Mar 2021 04:02:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615550523; cv=none; d=google.com; s=arc-20160816; b=OITnOoW/AxFiDykSThxRjq0d/kB6QeN62DqN33ygo2So9fEK39eB18A1tHkZeV9vGR jnTmYv2+N6Ib6oJGwDpbQ0LKrcBY15MrCqNws2we2t+I8oml6fY4ZtjOomKU1xS0txfY 6bGU3tZP4OwePkaBAGJNlJ7XyO8UWaRkq8ykwFp51ZFqAw53DMzUNKjfBUvRXGa9oaAk 63/k63LdnIGundizHa9s7JkeeoOgSIg+t9LQaH3Zt35ARTLXI8FZNuoZz/eMduWi337s U8UiNaxl2g5Y+HDUVsdM5JqM4g+MHIj72QLrsLg6yEYAgjSVKYoOoc+/uTJEmjbAX3yS Zm0Q== 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:mail-followup-to:reply-to:message-id :subject:cc:to:from:date; bh=fy1hExENsMfhVOX4ENpuM9bBfBDuJ1tPBrXNQjeR6ns=; b=qpXXFKMnUjUIC/FFKvwH/fAxznpER7vwPrfACI0YAfJA4b1ias8CGaeLffcAaXzPMD uYM8keXyuyfAqgJYIX25bszAeBnwWMaID68/UXmuPHFC+a6wegWx2v+FEQDAHmRWpc6N VlcIfuVs41cBfdQaVl4ySLEmQdEq/BfQ7iPYMEr1SEOXOQsL9W41dsmTBfEOBs9vbDRG yuxENqhHuN7cWZs629NtiBKj8OWWRKaCIVjyLAJl9LHIJ5yeF5cTpDA9qVr9u6wj9GgK dOhzLCP0aR7lm0MOOcSgrYIPvEOMeuk3tlPCAPbez1PlYMgeTFgTAGlKSpX+eVu2NCCp 2qyA== 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 bi22si3888256edb.191.2021.03.12.04.01.40; Fri, 12 Mar 2021 04:02:03 -0800 (PST) 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 S231223AbhCLMAT (ORCPT + 99 others); Fri, 12 Mar 2021 07:00:19 -0500 Received: from mx2.suse.de ([195.135.220.15]:41952 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230447AbhCLL76 (ORCPT ); Fri, 12 Mar 2021 06:59:58 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 43031B02F; Fri, 12 Mar 2021 11:59:57 +0000 (UTC) Received: by ds.suse.cz (Postfix, from userid 10065) id 6DC20DA81D; Fri, 12 Mar 2021 12:57:57 +0100 (CET) Date: Fri, 12 Mar 2021 12:57:57 +0100 From: David Sterba To: Ira Weiny Cc: Andrew Morton , David Sterba , Chris Mason , Josef Bacik , linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/3] btrfs: Convert kmap/memset/kunmap to memzero_user() Message-ID: <20210312115757.GQ7604@suse.cz> Reply-To: dsterba@suse.cz Mail-Followup-To: dsterba@suse.cz, Ira Weiny , Andrew Morton , David Sterba , Chris Mason , Josef Bacik , linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org References: <20210309212137.2610186-1-ira.weiny@intel.com> <20210310155836.7d63604e28d746ef493c1882@linux-foundation.org> <20210311155748.GR3014244@iweiny-DESK2.sc.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210311155748.GR3014244@iweiny-DESK2.sc.intel.com> User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 11, 2021 at 07:57:48AM -0800, Ira Weiny wrote: > On Wed, Mar 10, 2021 at 03:58:36PM -0800, Andrew Morton wrote: > > On Tue, 9 Mar 2021 13:21:34 -0800 ira.weiny@intel.com wrote: > > > > > Previously this was submitted to convert to zero_user()[1]. zero_user() is not > > > the same as memzero_user() and in fact some zero_user() calls may be better off > > > as memzero_user(). Regardless it was incorrect to convert btrfs to > > > zero_user(). > > > > > > This series corrects this by lifting memzero_user(), converting it to > > > kmap_local_page(), and then using it in btrfs. > > > > This impacts btrfs more than MM. I suggest the btrfs developers grab > > it, with my > > I thought David wanted you to take these this time? > > "I can play the messenger again but now it seems a round of review is needed > and with some testing it'll be possible in some -rc. At that point you may take > the patches via the mm tree, unless Linus is ok with a late pull." > > -- https://lore.kernel.org/lkml/20210224123049.GX1993@twin.jikos.cz/ > > But reading that again I'm not sure what he meant. As Linus had some objections I was not sure it was still feasible for the merge window, but this is now sorted. This new patchset does further changes in MM and the btrfs part is a straightforward cleanup. I've noticed Andrew added the patches to his queue which I'd prefer so I've added my reviewed-by to the third patch. Thanks.