diff for duplicates of <1311073824.13765.195.camel@twins> diff --git a/a/1.txt b/N1/1.txt index 03db0e3..64da186 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -2,20 +2,20 @@ On Tue, 2011-07-19 at 14:29 +1000, Benjamin Herrenschmidt wrote: > The futex code currently attempts to write to user memory within > a pagefault disabled section, and if that fails, tries to fix it > up using get_user_pages(). ->=20 +> > This doesn't work on archs where the dirty and young bits are > maintained by software, since they will gate access permission > in the TLB, and will not be updated by gup(). ->=20 +> > In addition, there's an expectation on some archs that a > spurious write fault triggers a local TLB flush, and that is > missing from the picture as well. ->=20 +> > I decided that adding those "features" to gup() would be too much > for this already too complex function, and instead added a new > simpler fixup_user_fault() which is essentially a wrapper around > handle_mm_fault() which the futex code can call. ->=20 -> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>=20 +> +> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl> diff --git a/a/content_digest b/N1/content_digest index 7893f30..5a66daa 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -17,38 +17,38 @@ "Subject\0Re: [RFC/PATCH] mm/futex: Fix futex writes on archs with SW tracking of dirty & young\0" "Date\0Tue, 19 Jul 2011 13:10:24 +0200\0" "To\0Benjamin Herrenschmidt <benh@kernel.crashing.org>\0" - "Cc\0tony.luck@intel.com" - Shan Hai <haishan.bai@gmail.com> - linux-kernel@vger.kernel.org - cmetcalf@tilera.com - dhowells@redhat.com + "Cc\0Shan Hai <haishan.bai@gmail.com>" paulus@samba.org tglx@linutronix.de walken@google.com + dhowells@redhat.com + cmetcalf@tilera.com + tony.luck@intel.com + akpm@linux-foundation.org linuxppc-dev@lists.ozlabs.org - " akpm@linux-foundation.org\0" + " linux-kernel@vger.kernel.org\0" "\00:1\0" "b\0" "On Tue, 2011-07-19 at 14:29 +1000, Benjamin Herrenschmidt wrote:\n" "> The futex code currently attempts to write to user memory within\n" "> a pagefault disabled section, and if that fails, tries to fix it\n" "> up using get_user_pages().\n" - ">=20\n" + "> \n" "> This doesn't work on archs where the dirty and young bits are\n" "> maintained by software, since they will gate access permission\n" "> in the TLB, and will not be updated by gup().\n" - ">=20\n" + "> \n" "> In addition, there's an expectation on some archs that a\n" "> spurious write fault triggers a local TLB flush, and that is\n" "> missing from the picture as well.\n" - ">=20\n" + "> \n" "> I decided that adding those \"features\" to gup() would be too much\n" "> for this already too complex function, and instead added a new\n" "> simpler fixup_user_fault() which is essentially a wrapper around\n" "> handle_mm_fault() which the futex code can call.\n" - ">=20\n" - "> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>=20\n" + "> \n" + "> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> \n" "\n" Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl> -07ba2474497e3b8d6d0667f740a616aab1f8143997fe6f2989f2bbc292f996db +07d184e47a46aaa04f9afd48a3b2082d9e2bd8f5010ef55fd7eeddbe67a69783
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.