Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp3520503rwb; Mon, 3 Oct 2022 16:49:10 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6f0RdbbOZJs2zug56GM46p21o16RC/pPKWNNQqKwKbnD0taM9a3C03rZ+udM3W0DqWUejE X-Received: by 2002:a05:6402:35d4:b0:459:348d:a7ac with SMTP id z20-20020a05640235d400b00459348da7acmr3221905edc.149.1664840950029; Mon, 03 Oct 2022 16:49:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664840950; cv=none; d=google.com; s=arc-20160816; b=TKb8K0f7YAQmP7Kg4BPMnQvm51W7LXjncecz0pevCTwp5N6xa83K778hACnnoIORxt 0hRgTfVlEubQp79Xaomhj7/ljB3RFkkW9UW1IT/JeJZvopuaWhlQ3eDdxhUa6OgLosbt R8ZTxZ2OrQsdL76dOe2xQDA/aBCxhi2DUmNRucf1dl978G87LGwiL6Wtu5Oyq8XTWWyl iMcmtvthvd+yC5gMguIm4fe4u2dn8yYLx0Jn+vgG49ndKEaw3aGQXdIbv7Z/0XHq0m6l mDkcp6EwmiQD9pYB3KYn3uqnyfEPXzDqQhAn/2qZ5y6nwapy2Vn8btWYQNIWOtNJjcgM Yifw== 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=QaXhKfiYb2wJS1cY8/i43OfjDz29G/pG08gdTRtzOvY=; b=AUQ5++04eiwe4slqxSrrC85/LViKXcBm6lAcQ5OuHB4hWeVgj4VKT1NW+7GS31Gwds 0n6t5MgJr8fuykTAY264JWqDfS/mav4M8ur6MxHcl/Nb2AevSarP0er3HxMsxq0Q/7UA eQ7vwlgUTXXARTknQYe/0imVhRvsCmDEJj+gQQ2taQXXEQBd37INqz84NTaKpilbo/zN yk/s6Wmok6uH/Tmyab0Xck4JShsC1LblzMgybvNCCIgi8AJTfRW9hK/tVNp9orhSIFQz xNfyVu8ZbVxwxDcnPwsyYzF5UhrnJ6tVRJ22lJGYaPwR6gS6MCNbLHKm50NXb8Bcqkv1 5pBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.org.uk header.s=zeniv-20220401 header.b=Ya1R14Pz; 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 hw8-20020a170907a0c800b00780f0b45416si8966419ejc.622.2022.10.03.16.48.44; Mon, 03 Oct 2022 16:49:10 -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=Ya1R14Pz; 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 S229741AbiJCXh1 (ORCPT + 99 others); Mon, 3 Oct 2022 19:37:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38574 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229596AbiJCXhY (ORCPT ); Mon, 3 Oct 2022 19:37:24 -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 39BB43AB16; Mon, 3 Oct 2022 16:37:22 -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=QaXhKfiYb2wJS1cY8/i43OfjDz29G/pG08gdTRtzOvY=; b=Ya1R14PzsJf4UAzejQPot5jf68 Guea09dRURyQZwSWLqVaBddRpqh+b0OYZADH+u9t91s21U6uzjdsG9hIusf6+yKM+LsFHMj7vs1YD qPhimBkoqG/udxerNZl/gWoyF9yNNKkQgiskgQrhLfzXCvIR/N55sfunr9NZlJ98O6VyBLoeTcHz3 C/ZDOJqu6+d7V+P2DWDOJ2kurAuo0EgM9EsMShYLsR680uPBv/pGNmte9Wmkwww8+2k8znJai+sqq Ugrhh4AJ9U0Mr3eA81mxbtO+dYYsnqtxEBkAHljAdNKf/FGcYjLLW6KTh3SZrMUrc94rCXfHqee0p oW3ozh9w==; Received: from viro by zeniv.linux.org.uk with local (Exim 4.96 #2 (Red Hat Linux)) id 1ofUzs-006ePP-31; Mon, 03 Oct 2022 23:37:17 +0000 Date: Tue, 4 Oct 2022 00:37:16 +0100 From: Al Viro To: "J. R. Okajima" Cc: Ira Weiny , Linus Torvalds , 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: <4011.1664837894@jrobl> 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 Tue, Oct 04, 2022 at 07:58:14AM +0900, J. R. Okajima wrote: > Al Viro: > > Argh.... Try this: > > > > fix coredump breakage caused by badly tested "[coredump] don't use __kernel_write() on kmap_local_page()" > > Thanx, it passed my local test. > > > > * fix for problem that occurs on rather uncommon setups (and hadn't > > been observed in the wild) sent very late in the cycle. > > If the commit was merged in RC versions, I guess someone found the > problem earlier. Most likely - the breakage is really not hard to trigger ;-/ Linus, which way would you prefer to handle that? It's a brown paperbag stuff - the worst I had in quite a while. Mea maxima culpa ;-/ 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. Up to you...