Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1461492

[PACTH v2 0/3] Implement /proc/<pid>/totmaps

From robert.foss@collabora.com
Newsgroups linux.kernel
Subject [PACTH v2 0/3] Implement /proc/<pid>/totmaps
Date 2016-08-13 00:10 +0200
Message-ID <s5sOl-7GA-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


From: Robert Foss <robert.foss@collabora.com>

This series implements /proc/PID/totmaps, a tool for retrieving summarized
information about the mappings of a process.

Changes since v1:
- Removed IS_ERR check from get_task_mm() function
- Changed comment format
- Moved proc_totmaps_operations declaration inside internal.h
- Switched to using do_maps_open() in totmaps_open() function,
  which provides privilege checking
- Error handling reworked for totmaps_open() function
- Switched to stack allocated struct mem_size_stats mss_sum in
  totmaps_proc_show() function
- Removed get_task_mm() in totmaps_proc_show() since priv->mm
  already is available
- Added support to proc_map_release() fork priv==NULL, to allow
  function to be used for all failure cases
- Added proc_totmaps_op and for it helper functions
- Added documention in separate patch
- Removed totmaps_release() since it was just a wrapper for
  proc_map_release()


Robert Foss (3):
  mm, proc: Implement /proc/<pid>/totmaps
  Documentation/filesystems: Fixed typo
  Documentation/filesystems: Added /proc/PID/totmaps documentation

 Documentation/filesystems/proc.txt |  23 ++++++-
 fs/proc/base.c                     |   1 +
 fs/proc/internal.h                 |   3 +
 fs/proc/task_mmu.c                 | 134 +++++++++++++++++++++++++++++++++++++
 4 files changed, 160 insertions(+), 1 deletion(-)

-- 
2.7.4

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PACTH v2 0/3] Implement /proc/<pid>/totmaps robert.foss@collabora.com - 2016-08-13 00:10 +0200
  [PACTH v2 3/3] Documentation/filesystems: Added /proc/PID/totmaps documentation robert.foss@collabora.com - 2016-08-13 00:10 +0200
  Re: [PACTH v2 0/3] Implement /proc/<pid>/totmaps Michal Hocko <mhocko@kernel.org> - 2016-08-14 11:10 +0200
    Re: [PACTH v2 0/3] Implement /proc/<pid>/totmaps Robert Foss <robert.foss@collabora.com> - 2016-08-15 15:10 +0200
      Re: [PACTH v2 0/3] Implement /proc/<pid>/totmaps Michal Hocko <mhocko@kernel.org> - 2016-08-15 15:50 +0200
        Re: [PACTH v2 0/3] Implement /proc/<pid>/totmaps Robert Foss <robert.foss@collabora.com> - 2016-08-15 18:30 +0200
          Re: [PACTH v2 0/3] Implement /proc/<pid>/totmaps Michal Hocko <mhocko@kernel.org> - 2016-08-16 09:20 +0200
            Re: [PACTH v2 0/3] Implement /proc/<pid>/totmaps Robert Foss <robert.foss@collabora.com> - 2016-08-16 18:50 +0200
              Re: [PACTH v2 0/3] Implement /proc/<pid>/totmaps Michal Hocko <mhocko@kernel.org> - 2016-08-17 10:30 +0200
                Re: [PACTH v2 0/3] Implement /proc/<pid>/totmaps Jann Horn <jann@thejh.net> - 2016-08-17 11:40 +0200
                Re: [PACTH v2 0/3] Implement /proc/<pid>/totmaps Michal Hocko <mhocko@kernel.org> - 2016-08-17 15:10 +0200
                Re: [PACTH v2 0/3] Implement /proc/<pid>/totmaps Robert Foss <robert.foss@collabora.com> - 2016-08-17 18:50 +0200
                Re: [PACTH v2 0/3] Implement /proc/<pid>/totmaps Sonny Rao <sonnyrao@chromium.org> - 2016-08-17 21:10 +0200
                Re: [PACTH v2 0/3] Implement /proc/<pid>/totmaps Michal Hocko <mhocko@kernel.org> - 2016-08-18 09:50 +0200
                Re: [PACTH v2 0/3] Implement /proc/<pid>/totmaps Michal Hocko <mhocko@kernel.org> - 2016-08-19 03:10 +0200
                Re: [PACTH v2 0/3] Implement /proc/<pid>/totmaps Robert Foss <robert.foss@collabora.com> - 2016-08-19 04:00 +0200
                Re: [PACTH v2 0/3] Implement /proc/<pid>/totmaps Sonny Rao <sonnyrao@chromium.org> - 2016-08-19 08:30 +0200
                Re: [PACTH v2 0/3] Implement /proc/<pid>/totmaps Minchan Kim <minchan@kernel.org> - 2016-08-19 04:30 +0200
                Re: [PACTH v2 0/3] Implement /proc/<pid>/totmaps Sonny Rao <sonnyrao@chromium.org> - 2016-08-19 08:50 +0200
                Re: [PACTH v2 0/3] Implement /proc/<pid>/totmaps Michal Hocko <mhocko@kernel.org> - 2016-08-19 11:10 +0200
                Re: [PACTH v2 0/3] Implement /proc/<pid>/totmaps Sonny Rao <sonnyrao@chromium.org> - 2016-08-19 20:30 +0200
                Re: [PACTH v2 0/3] Implement /proc/<pid>/totmaps Minchan Kim <minchan@kernel.org> - 2016-08-22 02:10 +0200
                Re: [PACTH v2 0/3] Implement /proc/<pid>/totmaps Michal Hocko <mhocko@kernel.org> - 2016-08-22 09:50 +0200
                Re: [PACTH v2 0/3] Implement /proc/<pid>/totmaps Minchan Kim <minchan@kernel.org> - 2016-08-22 16:20 +0200
                Re: [PACTH v2 0/3] Implement /proc/<pid>/totmaps Robert Foss <robert.foss@collabora.com> - 2016-08-22 16:40 +0200
                Re: [PACTH v2 0/3] Implement /proc/<pid>/totmaps Michal Hocko <mhocko@kernel.org> - 2016-08-22 18:50 +0200
                Re: [PACTH v2 0/3] Implement /proc/<pid>/totmaps Michal Hocko <mhocko@kernel.org> - 2016-08-22 19:30 +0200
                Re: [PACTH v2 0/3] Implement /proc/<pid>/totmaps Michal Hocko <mhocko@kernel.org> - 2016-08-22 19:50 +0200
                Re: [PACTH v2 0/3] Implement /proc/<pid>/totmaps Michal Hocko <mhocko@kernel.org> - 2016-08-23 10:30 +0200
                utime accounting regression since 4.6 (was: Re: [PACTH v2 0/3]  Implement /proc/<pid>/totmaps) Michal Hocko <mhocko@kernel.org> - 2016-08-23 16:40 +0200
                Re: utime accounting regression since 4.6 (was: Re: [PACTH v2 0/3]  Implement /proc/<pid>/totmaps) Rik van Riel <riel@redhat.com> - 2016-08-23 23:50 +0200
                Re: [PACTH v2 0/3] Implement /proc/<pid>/totmaps Sonny Rao <sonnyrao@chromium.org> - 2016-08-19 08:50 +0200
                Re: [PACTH v2 0/3] Implement /proc/<pid>/totmaps Michal Hocko <mhocko@kernel.org> - 2016-08-19 10:00 +0200
                Re: [PACTH v2 0/3] Implement /proc/<pid>/totmaps Sonny Rao <sonnyrao@chromium.org> - 2016-08-19 20:00 +0200
                Re: [PACTH v2 0/3] Implement /proc/<pid>/totmaps Michal Hocko <mhocko@kernel.org> - 2016-08-22 10:00 +0200
                Re: [PACTH v2 0/3] Implement /proc/<pid>/totmaps Sonny Rao <sonnyrao@chromium.org> - 2016-08-23 00:50 +0200
                Re: [PACTH v2 0/3] Implement /proc/<pid>/totmaps Marcin Jabrzyk <m.jabrzyk@samsung.com> - 2016-08-24 12:20 +0200
                Re: [PACTH v2 0/3] Implement /proc/<pid>/totmaps Sonny Rao <sonnyrao@chromium.org> - 2016-08-19 07:20 +0200

csiph-web