Re: PROBLEM:: irreversible Memory growth of process in mmap()-munmap() calls

From: Michael Frank
Date: Wed Mar 10 2004 - 00:17:34 EST


On Wed, 10 Mar 2004 10:06:12 +0530, Kumar, Rajneesh (MED) <rajneesh.kumar@xxxxxxxxxx> wrote:


The program was originally compiled on gcc 3.3.2. Is that a problem ?

Would appriciate your help.


I don't think gcc 3.3.2 has any related issue.

My reply was specifically directed at your posted which
referred gcc 3.2.2.

Regards
Michael






Regards
Rajneesh Kumar

GSP, GEMS-GTO
GE Medical Systems
John F Welch Technology Center
#152, EPIP. Phase 2
Whitefield, Bangalore.560 066

Ph : (080) - 2503 3412
Dialcom: *901 3412
mail: rajneesh.kumar@xxxxxxxxxx


-----Original Message-----
From: Michael Frank [mailto:mhf@xxxxxxxxxxxxx]
Sent: Tuesday, March 09, 2004 5:20 PM
To: Kumar, Rajneesh (MED); linux-kernel@xxxxxxxxxxxxxxx
Subject: Re: PROBLEM:: irreversible Memory growth of process in
mmap()-munmap() calls




On Tue, 9 Mar 2004 14:50:35 +0530, Kumar, Rajneesh (MED) <rajneesh.kumar@xxxxxxxxxx> wrote:
[1.] One line summary of the problem: irreversible Memory growth of process in mmap()-munmap() calls
1) Linux ( Compiled with gcc 3.2.2) : The memory size of process grows when files are mapped during first iteration of while loop. But there in no change in size after unmapping the file. However My expectations was drop in size of memory after munmap( ). On more point of interest is there is no
growth in memory after subsequent iterations of while loop.

Assuming you are talking about x86, gcc322 has produced the crappiest kernel code ever encountered. Even simple userspace apps got broen by it.

Suggest to change compilers to gcc295 or gcc323+ or gcc331+.

Regards
Michael




-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/