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


Groups > linux.kernel > #1578231

Re: [PATCH] proc/sysctl: prune stale dentries during unregistering

From Al Viro <viro@ZenIV.linux.org.uk>
Newsgroups linux.kernel
Subject Re: [PATCH] proc/sysctl: prune stale dentries during unregistering
Date 2017-02-10 08:50 +0100
Message-ID <t9e7T-tH-9@gated-at.bofh.it> (permalink)
References <t8STM-4gx-23@gated-at.bofh.it> <t9dYe-q5-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Feb 10, 2017 at 10:35:02AM +0300, Konstantin Khlebnikov wrote:

> # time sysctl -a > /dev/null
> real    1m12.806s
> user    0m0.016s
> sys     1m12.400s
> 
> Currently only memory reclaimer could remove this garbage.
> But without significant memory pressure this never happens.
> 
> This patch collects sysctl inodes into list on sysctl table header and
> prunes all their dentries once that table unregisters.

I'd probably go for hlist, but that's mostly cosmetic difference; how about
the matching stats *after* that patch?

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


Thread

[PATCH] proc/sysctl: drop unregistered stale dentries as soon as  possible Konstantin Khlebnikov <khlebnikov@yandex-team.ru> - 2017-02-08 12:00 +0100
  Re: [PATCH] proc/sysctl: drop unregistered stale dentries as soon  as possible Andrew Morton <akpm@linux-foundation.org> - 2017-02-08 22:50 +0100
    Re: [PATCH] proc/sysctl: drop unregistered stale dentries as soon as  possible Al Viro <viro@ZenIV.linux.org.uk> - 2017-02-09 05:00 +0100
      Re: [PATCH] proc/sysctl: drop unregistered stale dentries as soon as possible Konstantin Khlebnikov <koct9i@gmail.com> - 2017-02-09 08:40 +0100
        Re: [PATCH] proc/sysctl: drop unregistered stale dentries as soon as  possible Al Viro <viro@ZenIV.linux.org.uk> - 2017-02-09 10:10 +0100
          [PATCH] proc/sysctl: prune stale dentries during unregistering Konstantin Khlebnikov <khlebnikov@yandex-team.ru> - 2017-02-10 08:40 +0100
            Re: [PATCH] proc/sysctl: prune stale dentries during unregistering Al Viro <viro@ZenIV.linux.org.uk> - 2017-02-10 08:50 +0100
              Re: [PATCH] proc/sysctl: prune stale dentries during unregistering Konstantin Khlebnikov <khlebnikov@yandex-team.ru> - 2017-02-10 09:00 +0100
                Re: [PATCH] proc/sysctl: prune stale dentries during unregistering ebiederm@xmission.com (Eric W. Biederman) - 2017-02-13 11:00 +0100

csiph-web