View Bug Activity | Format For Printing
On x86-32 at least, CPU_ALLOC_SIZE() returns twice the value that its should. For example, CPU_ALLOC_SIZE(8192) returns 2048. This also causes CPU_ALLOC() to allocate double the required memory.
Created an attachment (id=3059) test program An example run of the attached program demonstrates the problem: $ ./a.out 8192 CPU_ALLOC_SIZE()=2048
Changed in cvs.