[Sugar-devel] poor man's mmap "sliding window" on Python 2.5.x
Benjamin M. Schwartz
bmschwar at fas.harvard.edu
Mon Jul 6 17:16:48 EDT 2009
Martin Langhoff wrote:
> On Tue, Jul 7, 2009 at 2:06 AM, Benjamin M.
> Schwartz<bmschwar at fas.harvard.edu> wrote:
>> Is this (a) a kernel bug, (b) Python layering extra caching over mmap, or
>> (c) a misunderstanding of mmap on my part?
> money is b
huh. I looked through python's mmap implementation  and there doesn't
seem to be any caching or funny business going on.
I wonder if it could be over-aggressive caching somewhere in jffs2, in an
attempt to avoid repeatedly decompressing the same block.
P.S. JFFS2 appears to support read-only mmap, which I presume is what
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 198 bytes
Desc: OpenPGP digital signature
More information about the Devel