Re: Virtual memory weirdness?
At 17:38 -0500 12/11/03, Alex Reynolds wrote: Pages zero filled: -1293420378. [...] Any thoughts? I believe that the negative numbers are simply a case of the counters wrapping. Looking through the code I don't think anything sinister is going on. The kernel stores these counters as signed 32-bit integers and just increments them each time an event happens. vm_stat gets the counters (using host_statistics HOST_VM_INFO) and prints them using printf %d, which interprets them as signed and hence you see a negative number. AFAICT the kernel does not base any runtime decisions on these counters, so I don't think they're the cause of your instability. Feel free to file a bug about this. On the hardware available when Mach was designed, wrapping a 32-bit integer was really hard. On current hardware it's pretty easy. We probably should increase the width of the counters. <http://developer.apple.com/bugreporter/> S+E -- Quinn "The Eskimo!" <http://www.apple.com/developer/> Apple Developer Technical Support * Networking, Communications, Hardware _______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.
participants (1)
-
Quinn