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=-1.2 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_PASS autolearn=ham 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 16C1FC43381 for ; Fri, 22 Feb 2019 02:44:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CFA7720818 for ; Fri, 22 Feb 2019 02:44:29 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=nvidia.com header.i=@nvidia.com header.b="dAslaHW4" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726183AbfBVCo3 (ORCPT ); Thu, 21 Feb 2019 21:44:29 -0500 Received: from hqemgate16.nvidia.com ([216.228.121.65]:12416 "EHLO hqemgate16.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725869AbfBVCo2 (ORCPT ); Thu, 21 Feb 2019 21:44:28 -0500 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqemgate16.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Thu, 21 Feb 2019 18:44:34 -0800 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Thu, 21 Feb 2019 18:44:28 -0800 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Thu, 21 Feb 2019 18:44:28 -0800 Received: from [10.110.48.28] (172.20.13.39) by HQMAIL101.nvidia.com (172.20.187.10) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 22 Feb 2019 02:44:27 +0000 To: lsf-pc , Linux-MM , linux-fsdevel From: John Hubbard Subject: [LSF/MM ATTEND] gup/dma, file-backed memory, and THP Message-ID: <213b47b1-a63e-06d6-e3ae-fa16e5a23a69@nvidia.com> Date: Thu, 21 Feb 2019 18:44:27 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-Version: 1.0 X-Originating-IP: [172.20.13.39] X-ClientProxiedBy: HQMAIL106.nvidia.com (172.18.146.12) To HQMAIL101.nvidia.com (172.20.187.10) Content-Type: text/plain; charset="utf-8" Content-Language: en-US-large Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1550803474; bh=OF/rgCGfOorrF8sNMcynyWe4p0PqDyp+ekmtZGbzME4=; h=X-PGP-Universal:To:From:Subject:Message-ID:Date:User-Agent: MIME-Version:X-Originating-IP:X-ClientProxiedBy:Content-Type: Content-Language:Content-Transfer-Encoding; b=dAslaHW4eMIKJl4iRzbaNbhTrrRVw4HWU8yEk2wghS4s3oTRxPkDwqTyq0nf8LgMr d9uVwTP5M1HkgTS9wNyB4kB11czJARFNJjcSij2CpkvjY2BqKQwQhPkFbcQP+HFfXm cMo3jREP5i72gmDL0tqJ8f2+CHznok91cIc/OshjSDSE6qi0dy+6mlSL3wXTuFNCad NYlAOBKoveYt2qjPsuS0kLq3lr+6j9cGkziaI1/K9AU9+tWqK7OKUW8zfKcB039Dx0 nQFYJAz7eDpIlqM0s4MpY/XVdOL+HuopTMIPGjCTN2uXUpL4NMQePY+MdcICuuWS53 kTyEB6TTlCx8Q== Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org Hi, I'd like to attend LSF/MM, in particular the following topics and areas: -- The get_user_pages()+DMA problem. Here, the page tracking technique seems fairly well settled. I've posted an RFC for the page tracking [1], and also posted the first two put_user_pages() patches as non-RFC [2]. However, the interactions with filesystems are still under active discussion. That is, what to do when clear_page_dirty_for_io() lands on a page that has an active get_user_pages() caller: this is still being discussed. I think there are viable solutions and we're getting there, and I *really* hope we might actually converge on an approach at this conference. Although, it's very awkward that Dave Chinner can't make it! -- Amir Goldstein proposed a "Sharing file backed pages" TOPIC, and this is very closely related to the gup/dma issues above, so I want to be there for that. And generally, get_user_pages and file system interactions are of course thing I want to be involved in lately. This next one was partially covered in Zi Yan's ATTEND request. But his focus was slightly different, so I wanted to come at it from a slightly different perspective, which is: -- THP and huge pages in general. It turns out that some high-thread-count devices (GPUs, of course, but also various AI chips and FPGA solutions) do much, much better with 2MB pages. In fact, it's so important that we've been expecting to be forced to use hugetlbfs, in order to be guaranteed those size pages. However, it would be better if the system could instead, reliably and efficiently provide huge pages, to the point that a GPU-like device could more or less always get a 2 MB page when it needs it. Also, perhaps a minor point: there don't seem to be kernel-side allocators for huge pages, but in order for device drivers to use them, it seems like that would be required. [1] https://lore.kernel.org/r/20190204052135.25784-1-jhubbard@nvidia.com [2] https://lore.kernel.org/r/20190208075649.3025-1-jhubbard@nvidia.com thanks, -- John Hubbard NVIDIA ----------------------------------------------------------------------------------- This email message is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. -----------------------------------------------------------------------------------