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=-14.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT 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 5EE2BC433ED for ; Wed, 28 Apr 2021 11:43:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 20B9461411 for ; Wed, 28 Apr 2021 11:43:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229624AbhD1Lno (ORCPT ); Wed, 28 Apr 2021 07:43:44 -0400 Received: from smtp-fw-9102.amazon.com ([207.171.184.29]:9719 "EHLO smtp-fw-9102.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229472AbhD1Lno (ORCPT ); Wed, 28 Apr 2021 07:43:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1619610180; x=1651146180; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=QnD6akGO//FI+gZLQLLDdH5w1c3ZnX3NMF7Lc/VTaH0=; b=SDEcphjlVhcPwoiIgeGxs/TE9kTptnf25Nhef+sfvYhuKxNc7+MzSUAr oKeoMKs+Ib+Q/7b6y09oiF2adZcjJHj45YLXKshRrx/lz/e22GHzdFAJB ybzKE6cKaOgyt4X+031nUlCIYInyx7+S1NdB6Y/AFnEERYgysRSiNQpJ9 s=; X-IronPort-AV: E=Sophos;i="5.82,258,1613433600"; d="scan'208";a="131440658" Received: from pdx4-co-svc-p1-lb2-vlan2.amazon.com (HELO email-inbound-relay-1d-38ae4ad2.us-east-1.amazon.com) ([10.25.36.210]) by smtp-border-fw-9102.sea19.amazon.com with ESMTP; 28 Apr 2021 11:42:53 +0000 Received: from EX13D13EUB002.ant.amazon.com (iad12-ws-svc-p26-lb9-vlan3.iad.amazon.com [10.40.163.38]) by email-inbound-relay-1d-38ae4ad2.us-east-1.amazon.com (Postfix) with ESMTPS id 30B61A1BCB; Wed, 28 Apr 2021 11:42:50 +0000 (UTC) Received: from EX13MTAUEB002.ant.amazon.com (10.43.60.12) by EX13D13EUB002.ant.amazon.com (10.43.166.205) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 28 Apr 2021 11:42:49 +0000 Received: from 8c85908914bf.ant.amazon.com.com (10.85.90.101) by mail-relay.amazon.com (10.43.60.234) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 28 Apr 2021 11:42:47 +0000 From: Gal Pressman To: David Ahern CC: , , Yossi Leybovich , Alexander Matushevsky , Leon Romanovsky , Jason Gunthorpe , Gal Pressman Subject: [PATCH iproute2-next 0/2] Add copy-on-fork to get sys command Date: Wed, 28 Apr 2021 14:42:29 +0300 Message-ID: <20210428114231.96944-1-galpress@amazon.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org This is the userspace part for the new copy-on-fork attribute added to the get sys netlink command. The new attribute indicates that the kernel copies DMA pages on fork, hence fork support through madvise and MADV_DONTFORK is not needed. Kernel series was merged: https://lore.kernel.org/linux-rdma/20210418121025.66849-1-galpress@amazon.com/ Thanks Gal Pressman (2): rdma: update uapi headers rdma: Add copy-on-fork to get sys command rdma/include/uapi/rdma/rdma_netlink.h | 16 ++++++++++++++++ rdma/sys.c | 9 +++++++++ 2 files changed, 25 insertions(+) -- 2.31.1