Bug 149463 - [WK2][NetworkCache] New entry bodies remain in dirty memory after being written to disk.
Summary: [WK2][NetworkCache] New entry bodies remain in dirty memory after being writt...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Page Loading (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Andreas Kling
URL:
Keywords: Performance
Depends on:
Blocks:
 
Reported: 2015-09-22 09:08 PDT by Andreas Kling
Modified: 2015-09-22 10:48 PDT (History)
4 users (show)

See Also:


Attachments
Patch idea (1.83 KB, patch)
2015-09-22 09:37 PDT, Andreas Kling
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Kling 2015-09-22 09:08:31 PDT
It appears that newly cached entries have their body files remain in dirty "mapped file" VM entries until the file is closed.
With a little msync() magic we can turn this dirty memory clean.
Comment 1 Andreas Kling 2015-09-22 09:37:23 PDT
Created attachment 261747 [details]
Patch idea
Comment 2 WebKit Commit Bot 2015-09-22 10:48:47 PDT
Comment on attachment 261747 [details]
Patch idea

Clearing flags on attachment: 261747

Committed r190121: <http://trac.webkit.org/changeset/190121>
Comment 3 WebKit Commit Bot 2015-09-22 10:48:53 PDT
All reviewed patches have been landed.  Closing bug.