lkml.org 
[lkml]   [2006]   [Oct]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 1/3] Fix COW D-cache aliasing on fork
From
From: Linus Torvalds <torvalds@osdl.org>
Date: Fri, 20 Oct 2006 08:49:35 -0700 (PDT)

> Why not do the cache flush _after_ the TLB flush? There's still a mapping,
> and never mind that it's read-only: the _mapping_ still exists, and I
> doubt any CPU will not do the writeback (the readonly bit had better
> affect the _frontend_ of the memory pipeline, but affectign the back end
> would be insane and very hard, since you can't raise a fault any more).
>
> Hmm?

You get an asynchronous fault from the L2 cache, and that's also what
happens when the TLB entry is missing during L2 writeback too. You
get a level 15 non-maskable IRQ when these asynchronous errors happen.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-10-20 21:39    [W:0.096 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site