[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strange memory allocation error in 2.2.11



On Fri, 13 Aug 1999, Roman Levenstein wrote:

> I'm writing a program , which actively uses garbage collection,
> implemented in
> a separate library(it scans stack, heap, etc. and relies on the system,
> when trying to determine start and end addresses of these memory areas ,
> but doesn't contain any assembler low-level code).

Hrmm, how exactly are you extracting this information from the kernel?

> Are there any changes in MM for 2.2.11 , which require recompilation of
> user programs? 

The only changes in 2.2.11 related to mm that could cause this have to do
with zeromapping ranges, but it should be a non-change for x86.  Also,
allocation patterns might be slightly different now as mmap is now allows
to wrap around once it reached the top of the address space.  Also, a bug
in mremap was fixed.

> What other reasons can lead to such effect?

Depends on your code =)  Do you have a test program that demonstrates the
but that we could look at?

		-ben

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://humbolt.geo.uu.nl/Linux-MM/