kayws426 / embox

Automatically exported from code.google.com/p/embox
0 stars 1 forks source link

after free() unused pages are not exempt #693

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.r13702
2.conf/mods.config
+ include embox.test.mem.heap
3.increase difference beetween ALLOC_FROM and ALLOC_TO, and set ALLOC_COUNT = 1

What is the expected output? What do you see instead?
This test allocates all pages, after that those pages will linked to 
kernel_task, so malloc() in user_task will returns NULL even if size 1.

Please use labels and text to provide additional information.

Original issue reported on code.google.com by ki.stfu on 8 May 2014 at 1:44