Why read only memory segment is dirty?

Lev Olshvang <levonshe-zJpx2rpV7r/[email protected]> Thu, 17 Jan 2019 17:58:46 +0300
Newsgroups gmane.linux.region.israel
Message-ID <[email protected]>
I am trying to understand the output of pmap command, why read-only memory is in fact dirty?

Why it shows 2 line of output with a same address (2 latst lines) but completely diferent content?

sudo pmap -x 8470

8470: /usr/lib/snapd/snapd

Address Kbytes RSS Dirty Mode Mapping

0000561a9b8d3000 0 0 0 r-x-- snapd

0000561a9c6f3000 6592 5916 5072 r---- snapd

0000561a9c6f3000 0 0 0 r---- snapd

snapd is multithreaded, but all thread show the same

Regards,

Lev

_______________________________________________
Linux-il mailing list
[email protected]
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il