lkml.org 
[lkml]   [2004]   [Apr]   [2]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateFri, 2 Apr 2004 18:21:12 -0700
FromErik Andersen <>
SubjectRe: [PATCH] cowlinks v2
On Sat Apr 03, 2004 at 02:04:25AM +0100, Jamie Lokier wrote:
> Here's a tricky situation:
> 
>    1. A file is cowlinked.  Then each cowlink is mmap()'d, one per process.
> 
>    2. At this point both mappings share the same pages in RAM.
> 
>    3. Then one of the cowlinks is written to...

Using mmap with PROT_WRITE on a cowlink must preemptively
break the link.

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--
-
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: 2005-03-22 13:02    [from the cache]
©2003-2008