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: 2+ 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
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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox