smaps_rollup
Jim Warner <[email protected]> Wed, 28 Apr 2021 15:01:10 -0500
| Newsgroups | gmane.linux.procps.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Craig, Attached are 6 patches for newlib, most of which deal with the addition of 'smaps_rollup' support to the library and top. I've tried to make the implementation as efficient as possible. Still, the costs for accessing this new file are tremendous as documented in some commit messages. Such costs are of no concern to a one-shot program like ps and under normal circumstances probably not top either. However, they would be recurring and are, at least, a bit of a surprise. Anyway, with this new support, perhaps you should invite Craig Ringer (issue #201) to add what he deems important to the ps program. Thanks in advance for the push. Regards, Jim p.s. Don't ever do what I did in a couple of commit messages. For aesthetics I used the 'before' convention shown below for some smaps timings. However, I discovered that git drops everything beginning with that line and continuing up to the actual diff when the patches are applied. That included some references too. In hindsight it's now obvious git keys on that leading '--- ' and assumed my stuff was part of his files change summary. So, I resorted to the 'after' convention to circumvent the issue. before: --- as a regular user -------------------------------- after: ------------------------------------ as a regular user
mostly-smaps-6.tgz
(application/x-compressed-tar, 12.5 KB) - not displayed