Martin Langhoff wrote:
> Along the way, found that Python 2.5.x doesn't support an offset to
> mmap(), which at first blush makes re-mapping with a sliding window
> problematic.

Why is an explicit sliding window necessary?  Isn't the point of mmap that
you can access as you like, and the kernel will clear old caches if
there's memory pressure?

> On the XO-1, it's the difference of "churning through it" and slowing
> the whole OS to a crawl, and then inching towards a big OOM zap.

Is this (a) a kernel bug, (b) Python layering extra caching over mmap, or
(c) a misunderstanding of mmap on my part?

--Ben

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel

Reply via email to