I also see where you can set the behavior using procnto -- I'll bet "procnto 
~i" will make sqlite behave correctly.  Though this is a global change.  
Anybody who depends on this zeroing though is nuts...
 
http://www.qnx.com/developers/docs/6.4.0/neutrino/lib_ref/m/munmap_flags.html
 

There are some interactions of the flags argument with the MAP_NOINIT flag of 
the mmap() <https://owa1.ngc.com/exchange/Michael.Black2/Drafts/m/mmap.html>  
function as well as procnto 
<https://owa1.ngc.com/exchange/Michael.Black2/utilities/p/procnto.html> , as 
detailed below: 

*       The mmap() function has a new flag, MAP_NOINIT. When specified, the 
POSIX requirement that the memory be zeroed is relaxed. The physical memory 
being used for this allocation must have been previously freed with 
UNMAP_INIT_OPTIONAL for this flag to have any effect. 
*       The procnto command line now has an -mmemmgr_configuration option. The 
memmgr_configuration string has a sequence of configuration options to enable 
(or if preceeded with a ~ character, disable) memory-manager aspects. The 
configuation options are: 

        i 
                munmap_flags() (with flags parameter as zero) acts as if 
UNMAP_INIT_REQUIRED were specified (the default). 
        ~i 
                munmap_flags() (with flags parameter as zero) acts as if 
UNMAP_INIT_OPTIONAL were specified. 

Michael D. Black
Senior Scientist
Advanced Analytics Directorate
Northrop Grumman Information Systems
 

 
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to