Skip to contentSkip to conversation

merge_segment() missing in do_mmap_pgoff in 2.4

DISCUSSION [email protected] 2 participants 2 messages Aug 6, 2001

lore
Share & tools
lore
#0 lore raw

I was just going through do_mmap_pgoff() in mmap.c. In 2.2 kernels after inserting the vma in doubly linked list we use to call merge_segments to check the possibility of merging it with other peer segments.
This thing is missing in 2.4. Is this left out intentionally ?? and why ??

--
Amol

#1 lore raw
Quoted 4 lines · On Mon, Aug 06, 2001 at 11:59:28AM +0530, [email protected] wrote:

I was just going through do_mmap_pgoff() in mmap.c. In 2.2 kernels after inserting the vma in doubly linked list we use to call merge_segments to check the possibility of merging it with other peer segments.
This thing is missing in 2.4. Is this left out intentionally ?? and why ??

Look at the ongoing thread in linux-kernel list with subject:

	Re: /proc/<n>/maps growing..
Quoted 2 lines

--
Amol