From: Stephen Hemminger <stephen@networkplumber.org>
To: Andrey Vagin <avagin@openvz.org>
Cc: linux-kernel@vger.kernel.org, David Miller <davem@davemloft.net>
Subject: Re: task_diag: add a new interface to get information about processes
Date: Wed, 4 May 2016 13:22:45 -0700 [thread overview]
Message-ID: <20160504132245.1d04c131@xeon-e3> (raw)
I understand how reading /proc or /sys can be a bottleneck, but this
proposed method using a system call is the wrong way to do this.
Why not use netlink like other systems do which allows a message
based response which allows for future changes (no fixed datastructures),
and is message based.
Generic netlink has already been used by several other subsystems.
next reply other threads:[~2016-05-04 20:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-04 20:22 Stephen Hemminger [this message]
2016-05-04 22:34 ` task_diag: add a new interface to get information about processes Andrey Vagin
2016-05-05 2:14 ` Stephen Hemminger
2016-05-05 3:39 ` Andy Lutomirski
2016-05-16 22:29 ` Andrew Vagin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160504132245.1d04c131@xeon-e3 \
--to=stephen@networkplumber.org \
--cc=avagin@openvz.org \
--cc=davem@davemloft.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.