Re: [dtrace-discuss] Check that memory is filled by zero or not after process dies

2009-08-20 Thread Dmitry Afanasyev
Hi, Jim! Thank you very much for your great research! -- This message posted from opensolaris.org ___ dtrace-discuss mailing list dtrace-discuss@opensolaris.org

[dtrace-discuss] Check that memory is filled by zero or not after process dies

2009-08-18 Thread Dmitry Afanasyev
Hello. I've got a scrip for systemtap and Linux kernel, that check if physical memory is filled by zero after process dies. The scrip is attached. The probe is set in the free_pages_bulk function, which frees number of memory pages using _free_one_page. I can't set probe in _free_one_page,

Re: [dtrace-discuss] Check that memory is filled by zero or not after process dies

2009-08-18 Thread Jim Mauro
You're actually asking multiple questions here, because in order to verify if a particular operating system zero-fills memory pages when they are freed from an address space, you'd need to first know which kernel function is called to zero-fill the pages, right? I created a simple DTrace script