diff for duplicates of <20180917083940.GE207969@Turing-Arch-b> diff --git a/a/1.txt b/N1/1.txt index 3d51251..257ff9c 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,22 +1,22 @@ On Sun, Sep 16, 2018 at 09:42:44PM -0400, Jerome Glisse wrote: > Date: Sun, 16 Sep 2018 21:42:44 -0400 -> From: Jerome Glisse <jglisse-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> -> To: Kenneth Lee <nek.in.cn-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> -> CC: Jonathan Corbet <corbet-T1hC0tSOHrs@public.gmane.org>, Herbert Xu -> <herbert-lOAM2aK0SrRLBo1qDEOMRrpzq4S04n8Q@public.gmane.org>, "David S . Miller" <davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>, -> Joerg Roedel <joro-zLv9SwRftAIdnm+yROfE0A@public.gmane.org>, Alex Williamson -> <alex.williamson-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>, Kenneth Lee <liguozhu-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.org>, Hao -> Fang <fanghao11-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>, Zhou Wang <wangzhou1-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.org>, Zaibo Xu -> <xuzaibo-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>, Philippe Ombredanne <pombredanne-od1rfyK75/E@public.gmane.org>, Greg -> Kroah-Hartman <gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org>, Thomas Gleixner -> <tglx-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org>, linux-doc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, -> linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-crypto-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, -> iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, kvm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, -> linux-accelerators-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, Lu Baolu <baolu.lu-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>, -> Sanjay Kumar <sanjay.k.kumar-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>, linuxarm-hv44wF8Li93QT0dZR+AlfA@public.gmane.org +> From: Jerome Glisse <jglisse@redhat.com> +> To: Kenneth Lee <nek.in.cn@gmail.com> +> CC: Jonathan Corbet <corbet@lwn.net>, Herbert Xu +> <herbert@gondor.apana.org.au>, "David S . Miller" <davem@davemloft.net>, +> Joerg Roedel <joro@8bytes.org>, Alex Williamson +> <alex.williamson@redhat.com>, Kenneth Lee <liguozhu@hisilicon.com>, Hao +> Fang <fanghao11@huawei.com>, Zhou Wang <wangzhou1@hisilicon.com>, Zaibo Xu +> <xuzaibo@huawei.com>, Philippe Ombredanne <pombredanne@nexb.com>, Greg +> Kroah-Hartman <gregkh@linuxfoundation.org>, Thomas Gleixner +> <tglx@linutronix.de>, linux-doc@vger.kernel.org, +> linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, +> iommu@lists.linux-foundation.org, kvm@vger.kernel.org, +> linux-accelerators@lists.ozlabs.org, Lu Baolu <baolu.lu@linux.intel.com>, +> Sanjay Kumar <sanjay.k.kumar@intel.com>, linuxarm@huawei.com > Subject: Re: [RFCv2 PATCH 0/7] A General Accelerator Framework, WarpDrive > User-Agent: Mutt/1.10.1 (2018-07-13) -> Message-ID: <20180917014244.GA27596-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> +> Message-ID: <20180917014244.GA27596@redhat.com> > > So i want to summarize issues i have as this threads have dig deep into > details. For this i would like to differentiate two cases first the easy @@ -88,7 +88,7 @@ This is indeed an issue. But it remains an issue only if you continue to use the queue and the memory after fork. We can use at_fork kinds of gadget to fix it in user space. ->From some perspectives, I think the issue can be solved by iommu_notifier. For +From some perspectives, I think the issue can be solved by iommu_notifier. For example, when the process is fork-ed, we can set the mapped device mmio space as COW for the child process, so a new queue can be created and set to the same state as the parent's if the space is accessed. Then we can have two separated diff --git a/a/content_digest b/N1/content_digest index 072d1c4..14aaf15 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,48 +1,51 @@ "ref\020180903005204.26041-1-nek.in.cn@gmail.com\0" "ref\020180917014244.GA27596@redhat.com\0" - "ref\020180917014244.GA27596-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org\0" - "From\0Kenneth Lee <liguozhu-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.org>\0" + "From\0Kenneth Lee <liguozhu@hisilicon.com>\0" "Subject\0Re: [RFCv2 PATCH 0/7] A General Accelerator Framework, WarpDrive\0" "Date\0Mon, 17 Sep 2018 16:39:40 +0800\0" - "To\0Jerome Glisse <jglisse-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>\0" - "Cc\0Kenneth Lee <nek.in.cn-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>" - Herbert Xu <herbert-lOAM2aK0SrRLBo1qDEOMRrpzq4S04n8Q@public.gmane.org> - kvm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org - Jonathan Corbet <corbet-T1hC0tSOHrs@public.gmane.org> - Greg Kroah-Hartman <gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org> - linux-doc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org - Sanjay Kumar <sanjay.k.kumar-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> - Hao Fang <fanghao11-hv44wF8Li93QT0dZR+AlfA@public.gmane.org> - iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org - linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org - linuxarm-hv44wF8Li93QT0dZR+AlfA@public.gmane.org - Alex Williamson <alex.williamson-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> - Thomas Gleixner <tglx-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org> - linux-crypto-u79uwXL29TY76Z2rM5mHXA@public.gmane.org - Philippe Ombredanne <pombredanne-od1rfyK75/E@public.gmane.org> - David S . Miller <davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org> - " linux-accelerators-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org\0" + "To\0Jerome Glisse <jglisse@redhat.com>\0" + "Cc\0Kenneth Lee <nek.in.cn@gmail.com>" + Jonathan Corbet <corbet@lwn.net> + Herbert Xu <herbert@gondor.apana.org.au> + David S . Miller <davem@davemloft.net> + Joerg Roedel <joro@8bytes.org> + Alex Williamson <alex.williamson@redhat.com> + Hao Fang <fanghao11@huawei.com> + Zhou Wang <wangzhou1@hisilicon.com> + Zaibo Xu <xuzaibo@huawei.com> + Philippe Ombredanne <pombredanne@nexb.com> + Greg Kroah-Hartman <gregkh@linuxfoundation.org> + Thomas Gleixner <tglx@linutronix.de> + <linux-doc@vger.kernel.org> + <linux-kernel@vger.kernel.org> + <linux-crypto@vger.kernel.org> + <iommu@lists.linux-foundation.org> + <kvm@vger.kernel.org> + <linux-accelerators@lists.ozlabs.org> + Lu Baolu <baolu.lu@linux.intel.com> + Sanjay Kumar <sanjay.k.kumar@intel.com> + " <linuxarm@huawei.com>\0" "\00:1\0" "b\0" "On Sun, Sep 16, 2018 at 09:42:44PM -0400, Jerome Glisse wrote:\n" "> Date: Sun, 16 Sep 2018 21:42:44 -0400\n" - "> From: Jerome Glisse <jglisse-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>\n" - "> To: Kenneth Lee <nek.in.cn-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>\n" - "> CC: Jonathan Corbet <corbet-T1hC0tSOHrs@public.gmane.org>, Herbert Xu\n" - "> <herbert-lOAM2aK0SrRLBo1qDEOMRrpzq4S04n8Q@public.gmane.org>, \"David S . Miller\" <davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>,\n" - "> Joerg Roedel <joro-zLv9SwRftAIdnm+yROfE0A@public.gmane.org>, Alex Williamson\n" - "> <alex.williamson-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>, Kenneth Lee <liguozhu-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.org>, Hao\n" - "> Fang <fanghao11-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>, Zhou Wang <wangzhou1-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.org>, Zaibo Xu\n" - "> <xuzaibo-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>, Philippe Ombredanne <pombredanne-od1rfyK75/E@public.gmane.org>, Greg\n" - "> Kroah-Hartman <gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org>, Thomas Gleixner\n" - "> <tglx-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org>, linux-doc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,\n" - "> linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-crypto-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,\n" - "> iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, kvm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,\n" - "> linux-accelerators-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, Lu Baolu <baolu.lu-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>,\n" - "> Sanjay Kumar <sanjay.k.kumar-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>, linuxarm-hv44wF8Li93QT0dZR+AlfA@public.gmane.org\n" + "> From: Jerome Glisse <jglisse@redhat.com>\n" + "> To: Kenneth Lee <nek.in.cn@gmail.com>\n" + "> CC: Jonathan Corbet <corbet@lwn.net>, Herbert Xu\n" + "> <herbert@gondor.apana.org.au>, \"David S . Miller\" <davem@davemloft.net>,\n" + "> Joerg Roedel <joro@8bytes.org>, Alex Williamson\n" + "> <alex.williamson@redhat.com>, Kenneth Lee <liguozhu@hisilicon.com>, Hao\n" + "> Fang <fanghao11@huawei.com>, Zhou Wang <wangzhou1@hisilicon.com>, Zaibo Xu\n" + "> <xuzaibo@huawei.com>, Philippe Ombredanne <pombredanne@nexb.com>, Greg\n" + "> Kroah-Hartman <gregkh@linuxfoundation.org>, Thomas Gleixner\n" + "> <tglx@linutronix.de>, linux-doc@vger.kernel.org,\n" + "> linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org,\n" + "> iommu@lists.linux-foundation.org, kvm@vger.kernel.org,\n" + "> linux-accelerators@lists.ozlabs.org, Lu Baolu <baolu.lu@linux.intel.com>,\n" + "> Sanjay Kumar <sanjay.k.kumar@intel.com>, linuxarm@huawei.com\n" "> Subject: Re: [RFCv2 PATCH 0/7] A General Accelerator Framework, WarpDrive\n" "> User-Agent: Mutt/1.10.1 (2018-07-13)\n" - "> Message-ID: <20180917014244.GA27596-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>\n" + "> Message-ID: <20180917014244.GA27596@redhat.com>\n" "> \n" "> So i want to summarize issues i have as this threads have dig deep into\n" "> details. For this i would like to differentiate two cases first the easy\n" @@ -114,7 +117,7 @@ "queue and the memory after fork. We can use at_fork kinds of gadget to fix it in\n" "user space.\n" "\n" - ">From some perspectives, I think the issue can be solved by iommu_notifier. For\n" + "From some perspectives, I think the issue can be solved by iommu_notifier. For\n" "example, when the process is fork-ed, we can set the mapped device mmio space as\n" "COW for the child process, so a new queue can be created and set to the same\n" "state as the parent's if the space is accessed. Then we can have two separated\n" @@ -254,4 +257,4 @@ "-- \n" "\t\t\t-Kenneth(Hisilicon)" -25521098e5057059b381e97d6fb3ee8b787768188a19f2b103c8786964e2ff32 +5512822a2bdf511e37740b4dae3fbc0cbc7ade85b43d36c8b2f20c39118bcaac
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.