Message196194
Unless the memory allocator actually supports it, this means you lose a whole lot of memory for padding, though... Memory which will sit there unused at the end of another cacheline.
Note that the current small object allocator, if not disabled, *should* already return you aligned memory, by construction (each allocation size has dedicated pools from which memory blocks are carved). |
|
Date |
User |
Action |
Args |
2013-08-26 10:23:02 | pitrou | set | recipients:
+ pitrou, tim.peters, rhettinger, vstinner |
2013-08-26 10:23:02 | pitrou | set | messageid: <1377512582.88.0.536014761292.issue18835@psf.upfronthosting.co.za> |
2013-08-26 10:23:02 | pitrou | link | issue18835 messages |
2013-08-26 10:23:02 | pitrou | create | |
|