<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Network Cache: Deduplicate body data"
   href="https://bugs.webkit.org/show_bug.cgi?id=143652#c8">Comment # 8</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Network Cache: Deduplicate body data"
   href="https://bugs.webkit.org/show_bug.cgi?id=143652">bug 143652</a>
              from <span class="vcard"><a class="email" href="mailto:akling&#64;apple.com" title="Andreas Kling &lt;akling&#64;apple.com&gt;"> <span class="fn">Andreas Kling</span></a>
</span></b>
        <pre>Comment on <span class=""><a href="attachment.cgi?id=250632&amp;action=diff" name="attach_250632" title="patch">attachment 250632</a> <a href="attachment.cgi?id=250632&amp;action=edit" title="patch">[details]</a></span>
patch

View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=250632&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=250632&amp;action=review</a>

<span class="quote">&gt; Source/WebKit2/NetworkProcess/cache/NetworkCacheBlobStorage.cpp:107
&gt; +    void* map = mmap(nullptr, size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);</span >

We should make sure to drop PROT_WRITE once we're done writing the resource out to disk.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>