[Python-Dev] pymalloc killer (original) (raw)
David Abrahams David Abrahams" <david.abrahams@rcn.com
Fri, 29 Mar 2002 19:03:25 -0500
- Previous message: [Python-Dev] pymalloc killer
- Next message: [Python-Dev] pymalloc killer
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: "Tim Peters" <tim.one@comcast.net>
Arenas are 256KB chunks with no known alignment. They're carved into 4KB-aligned pages (also called "pools") of 4KB each. Some number of the leading and trailing memory addresses in an arena are sacrificed to get page alignment in the smaller pieces (pools/pages). A given pool is in turn carved into some number of continguous, equal-sized, 8-byte aligned small blocks.
Okay, 'nuf said. I see why you need to do it that way, now.
-Dave
- Previous message: [Python-Dev] pymalloc killer
- Next message: [Python-Dev] pymalloc killer
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]