Re: mergemem utility: tests and BUGS

Marnix Coppens (maco@telindus.be)
Mon, 23 Mar 1998 09:50:47 +0100


At 22:07 20/03/98 +0100, you wrote:
>Marnix Coppens wrote:
>> Apparently, 50 pages out of a total of 51 in the bss section (!) cannot
>> be shared between the two instances of dc, who only differ in their pid.
>> Can someone explain this ?
>> Looks like only a dump of those particular pages will tell the difference.
>> FWIW, I also noticed that the checksum operation failed a few dozen times
>> with the error MERGEMEM_NOPAGE1. This is really odd.
>> BTW, I've noticed that the get_phys_addr() routine being used for this
>> is a straight copy from fs/proc/array.c, so that should be all right..
>
>Since Linux does demand-paging, only a few pages of the
>mapping 400a9000-400dc000 are already present... thus the checksum
>operation failing with MERGEMEM_NOPAGE1.
>

Yes, I already figured that one out (not fully awake when I posted it.. :^)
Turns out the other 50 pages are indeed not present at all.

As I'm writing this, I'm downloading the latest version 0.06.
I'll keep you guys posted. Keep hacking!

Marnix Coppens

---
Reality is that which                   | Artificial Intelligence
when you stop believing                 | stands no chance against
in it doesn't go away. (Philip K. Dick) | Natural Stupidity.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu