Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp3593015rwb; Mon, 3 Oct 2022 18:14:06 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7BJTi84Xzo5ffjKfKEpeFRcHrW9nakHN0/VLBMiJUa31moXjznVuZAZPTU4EVbOyx7zBii X-Received: by 2002:a17:906:2699:b0:781:a473:9791 with SMTP id t25-20020a170906269900b00781a4739791mr17126822ejc.644.1664846045936; Mon, 03 Oct 2022 18:14:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664846045; cv=none; d=google.com; s=arc-20160816; b=GUUoS5CiAW098LRiHASD5LthKR5mchyTI8QC6fQudGvYk+cGeno6g9ksv5s+GWYsGx Yb1v6pFJJGPGkKSoc26YxJtm+d1D+Ax2zo65x0b7zIR2u2HJXi35xd3u4lz/NLBXxOSu UEvcmwyRaOCxu4B13KN+0yuzs8FZesBqK0nEcyvQW+gbTDjT42QGhvWIwWbv5R2pJ9TH cljYScyKZ03J/usNajdvjfGJck/x3WeplQMZ6SZypakbsNIcZ4TQCYtlaH4a1cIm7sfD TlwKuNWk13VccNlZ8xmJihjM6kK3guAthk94a6D+bPdw0cMo0QYCGwusf3cuXlh93c0v 0snA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=Wa9KrrKNC6Vgnnu2W46pq1xBHNyZVTHJGYOL4jFN34Q=; b=K85idgGJL2q7o614MGbiFPaRYk0huvLrHUJAtZWS1h28TnXZ/KFGDCc0/tCTdQ/NM8 NE/Zsk9D2v44bNUd4wrttHpXGyPeeLiTP0HhE483aqbgpi5GfbBKqPJTt88J9iOhw6OL 8tPyT1tq4mxW1nyOJIo9ZIgdwsroezdvn/MtJEnjKyZwhSM0RqLCmYKZVQWfNdvOOOOJ uQ1FquE7L5CqmCIy4L8cAMau8ctLSCJGYL2M64IyKfbrzIkoj+9LfS4VuVIskvP7/8je yA75cLFy85lD0e5zenCWcytul476EyAQObiFrkplPuYJ8b+aRSNCLPZKq6IN53Ey8eMO gd8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.org.uk header.s=zeniv-20220401 header.b=OgKh8MRD; 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=NONE dis=NONE) header.from=zeniv.linux.org.uk Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x10-20020a05640226ca00b00447ebf62410si11917938edd.2.2022.10.03.18.13.40; Mon, 03 Oct 2022 18:14:05 -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=@linux.org.uk header.s=zeniv-20220401 header.b=OgKh8MRD; 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=NONE dis=NONE) header.from=zeniv.linux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230062AbiJDAbN (ORCPT + 99 others); Mon, 3 Oct 2022 20:31:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37592 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230036AbiJDAbH (ORCPT ); Mon, 3 Oct 2022 20:31:07 -0400 Received: from zeniv.linux.org.uk (zeniv.linux.org.uk [IPv6:2a03:a000:7:0:5054:ff:fe1c:15ff]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 42B9215A2A; Mon, 3 Oct 2022 17:31:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=linux.org.uk; s=zeniv-20220401; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=Wa9KrrKNC6Vgnnu2W46pq1xBHNyZVTHJGYOL4jFN34Q=; b=OgKh8MRDp07PoG9+f4r8Hd0YoI a/SIUw1+vbbFjOF/LMh2Un0mf3L4e50cEsQsUh/3Iywoy72ExZ9FowrxtNyW0zOGoXKazQjTVqBTA 32n+cnRZQfwYPfAYuYaYz435d1ip8golXB/xx7FbXe81nc+C2e5XWql+urAWm2YMYo6nPwAQz9KIJ szwXD04Vq5qJ539Vsrw/VMSRCjcFXc/T73ZZzbR7lcMoQZsqOepivLEbQ8rO7DglBRnuOWL/8q6PT m3h7T1QyKBZntxNhpvOPS49q0v54PNHJ9ROlln6ZvRCyYHagfNbtyJjHI0OiVu+dnn8OKN7T2koKT QLl2Y5Yw==; Received: from viro by zeniv.linux.org.uk with local (Exim 4.96 #2 (Red Hat Linux)) id 1ofVpu-006faW-21; Tue, 04 Oct 2022 00:31:02 +0000 Date: Tue, 4 Oct 2022 01:31:02 +0100 From: Al Viro To: Linus Torvalds Cc: "J. R. Okajima" , Ira Weiny , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH][CFT] [coredump] don't use __kernel_write() on kmap_local_page() Message-ID: References: <7714.1664794108@jrobl> <4011.1664837894@jrobl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: Al Viro X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE 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 Mon, Oct 03, 2022 at 05:20:03PM -0700, Linus Torvalds wrote: > On Mon, Oct 3, 2022 at 4:37 PM Al Viro wrote: > > > > One variant would be to revert the original patch, put its > > (hopefully) fixed variant into -next and let it sit there for > > a while. Another is to put this incremental into -next and > > merge it into mainline once it gets a sane amount of testing. > > Just do the incremental fix. It looks obvious enough ("oops, we need > to get the pos _after_ we've done any skip-lseeks on the core file") > that I think it would be just harder to follow a "revert and follow up > with a fix". > > I don't think it needs a ton of extra testing, with Okajima having > already confirmed it fixes his problem case.. OK, incremental is in #fixes, pushed out.