Является ли куча памяти в Linux непрерывной?Linux

Ответить
Anonymous
 Является ли куча памяти в Linux непрерывной?

Сообщение Anonymous »


I was looking at the man page for brk(2), and it said that it increases the program break therefore allocating more memory to the heap. However, the way that I understand it, heap memory isn't always completely virtually contiguous in the PROG_TEXT -> PROG_HEAP (prog break) -> PROG_STACK manner that it seems to describe. Is the program heap actually virtually contiguous? If not, how does brk(2) work in a way that's consistent with what's described on the man page?


Источник: https://stackoverflow.com/questions/781 ... contiguous
Ответить

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

Вернуться в «Linux»