|
From: <we...@cw...> - 2001-10-15 15:38:52
|
Philip Susi writes > >It is more difficult to create and maintain all of these special code >paths and algorithms for the cache than it would be to simply let the >existing memory management code do all the work for you like in NT. > But the existing memory management code doesn't 'do all the work' since cached file data and memory mapped files are fundamentally different things. Most of the time data will either be memory mapped or the subject of NtReadFile/NtWriteFile and we want the paths for handling both to be optimized for their specific characteristics not to kludge one into a special case of the other. >We do? Where? > Because every time an application uses a part of a cached file then it calls (via the filesystem) the cache manager so we can record the LRU information very easily. > And how does memory mapped files interact with this cache? > My plan was to handle memory mapped data which is also shared with the cache using the mechanism for paging user data. ==================================================== = To remove yourself from this mailing list, go to = = http://www.reactos.com/home/mailing.html = ==================================================== |