Tom Horsley writes:
On Tue, 13 Sep 2016 09:56:08 -0700
Rick Stevens wrote:
> Yeah, the virtual usage is significantly bigger, the resident part
> slightly bigger and the shared segment is actually smaller. Weird.
You could compare the /proc/pid/maps files for both cases and
see which memory segment(s) were bigger.
Did that. Under either kernel, the named process maps the same shared
libraries, and the mappings are identical in size.
The difference is entirely in the process's private mappings, half of them
are "rw-p" mappings, half of them are "---p" mappings, which I do not
understand, a private mapping without read and write privileges?
The "rw-p" mappings are slightly larger under 4.7.2. The "---p"
mappings are
significantly larger under the 4.7.2 kernel.