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 X-Spam-Level: X-Spam-Status: No, score=-13.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 51AF9C47091 for ; Sun, 30 May 2021 22:40:51 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id C6D9E6127A for ; Sun, 30 May 2021 22:40:50 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C6D9E6127A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 2AC2C6B0036; Sun, 30 May 2021 18:40:50 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 25C3F6B006E; Sun, 30 May 2021 18:40:50 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 0D6746B0070; Sun, 30 May 2021 18:40:50 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0156.hostedemail.com [216.40.44.156]) by kanga.kvack.org (Postfix) with ESMTP id CDA206B0036 for ; Sun, 30 May 2021 18:40:49 -0400 (EDT) Received: from smtpin34.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 5E0E4814A for ; Sun, 30 May 2021 22:40:49 +0000 (UTC) X-FDA: 78199368618.34.F7EBF31 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf28.hostedemail.com (Postfix) with ESMTP id ADA102001093 for ; Sun, 30 May 2021 22:40:38 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 7F6386120D; Sun, 30 May 2021 22:40:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1622414446; bh=sc3R+OcBRxHghAUonKX5pP6gZpOYy1KwZ2uEQyTtgFw=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=pkNqwGTUxIdX8NjYWGh7LlXj3qo9xJzzdxmWUnGf0UtzHzSVGof15D1EMCk8OhlHH FEYaTPYsZ0JQaskZIZe64uXcTAzWyP5b9cM0pbaPjdxg2pv5PoGjrND94f2st1fTEH sDR+w6tQZGFKO41jYYrCqcL3I/uScXN5Nx3UwbJT5qVCG7z+wDS/Dte/FQc4PSS8yq YbV+h702IRtxidsqPz3C5vBbulyYjuubmqWJXlM8fLckJzeC84QUm/V9S4jSk/0Lwr zADbsy7BQEAgJORLamFXccqqXooOjc96fmYGXHdJoJJ+OYAzTF7b+E0Ure7w4BOdIY +Z6ZPIuxh0iUg== Subject: Re: [PATCH v2] fb_defio: Remove custom address_space_operations To: Matthew Wilcox Cc: dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, William Kucharski , Jani Nikula , Daniel Vetter , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Ian Campbell , linux-fsdevel@vger.kernel.org, Jaya Kumar , Christoph Hellwig References: <20210310185530.1053320-1-willy@infradead.org> From: Nathan Chancellor Message-ID: <2977064f-42d0-7b64-176d-9509c205bfc3@kernel.org> Date: Sun, 30 May 2021 15:40:44 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Authentication-Results: imf28.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=pkNqwGTU; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf28.hostedemail.com: domain of nathan@kernel.org designates 198.145.29.99 as permitted sender) smtp.mailfrom=nathan@kernel.org X-Rspamd-Server: rspam05 X-Rspamd-Queue-Id: ADA102001093 X-Stat-Signature: zoby1poe9fmacne41nks714187o3fj7z X-HE-Tag: 1622414438-586444 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On 5/30/2021 2:14 PM, Matthew Wilcox wrote: > On Sun, May 30, 2021 at 12:13:05PM -0700, Nathan Chancellor wrote: >> Hi Matthew, >> >> On Wed, Mar 10, 2021 at 06:55:30PM +0000, Matthew Wilcox (Oracle) wrote: >>> There's no need to give the page an address_space. Leaving the >>> page->mapping as NULL will cause the VM to handle set_page_dirty() >>> the same way that it's handled now, and that was the only reason to >>> set the address_space in the first place. >>> >>> Signed-off-by: Matthew Wilcox (Oracle) >>> Reviewed-by: Christoph Hellwig >>> Reviewed-by: William Kucharski >> >> This patch in mainline as commit ccf953d8f3d6 ("fb_defio: Remove custom >> address_space_operations") causes my Hyper-V based VM to no longer make >> it to a graphical environment. > > Hi Nathan, > > Thanks for the report. I sent Daniel a revert patch with a full > explanation last week, which I assume he'll queue up for a pull soon. > You can just git revert ccf953d8f3d6 for yourself until that shows up. > Sorry for the inconvenience. > Thank you for the quick response! I will keep an eye out for the patch while reverting it locally in the meantime. Cheers, Nathan