Re: mmap behavior




ochedru@xxxxxxxxx wrote:
The following code behaves differently between kernel 2.4 and kernel
2.6:

size_t length = 0x40000000; /* 1GB */
void *addr = mmap (0, length, PROT_NONE, MAP_SHARED|MAP_ANONYMOUS, 0,
0);

Any advice?

I didn't see a question in there. Is this causing some kind of problem
for you?

DS

.