From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8DE9FC433FE for ; Tue, 4 Oct 2022 00:31:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230055AbiJDAbM (ORCPT ); Mon, 3 Oct 2022 20:31:12 -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 Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@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.