brk() sets the end of the data segment to the value specified by end_data_segment, when that value is reasonable, the system does have enough memory and the process does not exceed its max data size (see setrlimit(2)). 簡單點(diǎn)說就是內(nèi)存不夠用時(shí)通過它來申請新內(nèi)存(data segment),可是為什...