Message ID | 20220315104741.63071-1-david@redhat.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id B6B5DC433EF for <linux-mm@archiver.kernel.org>; Tue, 15 Mar 2022 10:48:13 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 165798D0002; Tue, 15 Mar 2022 06:48:13 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 1155C8D0001; Tue, 15 Mar 2022 06:48:13 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 004F28D0002; Tue, 15 Mar 2022 06:48:12 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (relay.hostedemail.com [64.99.140.28]) by kanga.kvack.org (Postfix) with ESMTP id E83CC8D0001 for <linux-mm@kvack.org>; Tue, 15 Mar 2022 06:48:12 -0400 (EDT) Received: from smtpin05.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay13.hostedemail.com (Postfix) with ESMTP id C594A6151A for <linux-mm@kvack.org>; Tue, 15 Mar 2022 10:48:12 +0000 (UTC) X-FDA: 79246296024.05.482DE4D Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by imf26.hostedemail.com (Postfix) with ESMTP id 0FC86140011 for <linux-mm@kvack.org>; Tue, 15 Mar 2022 10:48:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1647341291; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=R31tnBu++6UPYqVpe8Q1wB/BdyCOi3q0COG1iDk9BBU=; b=JgH9VWCJZQHXeEkGQMaOtcF7xSYD/l19ZheXVVDfIHu6fyiTo91IZrX4l60i0MX1fY14bS 3MgpWvdftYnuIVPuRuaiXsZ/SJkqJxbwOpqGMgwm3S5akAzIQm5VZoNyk1H61XLhsi3IkQ 205T/Zcw/Dg7ArweQ/hZq1Km1px85Ko= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-364-y6b87QKSP0CUQXea8E48Lg-1; Tue, 15 Mar 2022 06:48:07 -0400 X-MC-Unique: y6b87QKSP0CUQXea8E48Lg-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 8DF573803906; Tue, 15 Mar 2022 10:48:06 +0000 (UTC) Received: from t480s.redhat.com (unknown [10.39.194.72]) by smtp.corp.redhat.com (Postfix) with ESMTP id ABA782D465; Tue, 15 Mar 2022 10:47:42 +0000 (UTC) From: David Hildenbrand <david@redhat.com> To: linux-kernel@vger.kernel.org Cc: Andrew Morton <akpm@linux-foundation.org>, Hugh Dickins <hughd@google.com>, Linus Torvalds <torvalds@linux-foundation.org>, David Rientjes <rientjes@google.com>, Shakeel Butt <shakeelb@google.com>, John Hubbard <jhubbard@nvidia.com>, Jason Gunthorpe <jgg@nvidia.com>, Mike Kravetz <mike.kravetz@oracle.com>, Mike Rapoport <rppt@linux.ibm.com>, Yang Shi <shy828301@gmail.com>, "Kirill A . Shutemov" <kirill.shutemov@linux.intel.com>, Matthew Wilcox <willy@infradead.org>, Vlastimil Babka <vbabka@suse.cz>, Jann Horn <jannh@google.com>, Michal Hocko <mhocko@kernel.org>, Nadav Amit <namit@vmware.com>, Rik van Riel <riel@surriel.com>, Roman Gushchin <guro@fb.com>, Andrea Arcangeli <aarcange@redhat.com>, Peter Xu <peterx@redhat.com>, Donald Dutile <ddutile@redhat.com>, Christoph Hellwig <hch@lst.de>, Oleg Nesterov <oleg@redhat.com>, Jan Kara <jack@suse.cz>, Liang Zhang <zhangliang5@huawei.com>, Pedro Gomes <pedrodemargomes@gmail.com>, Oded Gabbay <oded.gabbay@gmail.com>, linux-mm@kvack.org, David Hildenbrand <david@redhat.com>, Khalid Aziz <khalid.aziz@oracle.com> Subject: [PATCH v2 00/15] mm: COW fixes part 2: reliable GUP pins of anonymous pages Date: Tue, 15 Mar 2022 11:47:26 +0100 Message-Id: <20220315104741.63071-1-david@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-Rspam-User: X-Rspamd-Queue-Id: 0FC86140011 X-Stat-Signature: i66nj1dqc984n3kp9tmtmb8rncw9gjua Authentication-Results: imf26.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=JgH9VWCJ; dmarc=pass (policy=none) header.from=redhat.com; spf=none (imf26.hostedemail.com: domain of david@redhat.com has no SPF policy when checking 170.10.133.124) smtp.mailfrom=david@redhat.com X-Rspamd-Server: rspam03 X-HE-Tag: 1647341291-843907 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: <linux-mm.kvack.org> |
Series |
mm: COW fixes part 2: reliable GUP pins of anonymous pages
|
expand
|
On Tue, Mar 15, 2022 at 11:47:26AM +0100, David Hildenbrand wrote: > This series fixes memory corruptions when a GUP pin (FOLL_PIN) was taken > on an anonymous page and COW logic fails to detect exclusivity of the page > to then replacing the anonymous page by a copy in the page table: The > GUP pin lost synchronicity with the pages mapped into the page tables. I don't know much about most of this part of the mm, but nothing here gave me serious pause. We are trying to run this series in our RDMA testing. Will let you know. Thanks, Jason