From: David Ahern <dsahern-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Dmitry Yakunin <zeil-XoJtRXgx1JseBXzfvpsJ4g@public.gmane.org>,
netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH iproute2-next v2 1/3] ss: introduce cgroup2 cache and helper functions
Date: Tue, 12 May 2020 20:03:25 -0600 [thread overview]
Message-ID: <42814b4f-dc95-d246-47a4-2b8c46dd607e@gmail.com> (raw)
In-Reply-To: <20200509165202.17959-1-zeil-XoJtRXgx1JseBXzfvpsJ4g@public.gmane.org>
On 5/9/20 10:52 AM, Dmitry Yakunin wrote:
> This patch prepares infrastructure for matching sockets by cgroups.
> Two helper functions are added for transformation between cgroup v2 ID
> and pathname. Cgroup v2 cache is implemented as hash table indexed by ID.
> This cache is needed for faster lookups of socket cgroup.
>
> v2:
> - style fixes (David Ahern)
>
you missed my other comment about this set. Running this new command on
a kernel without support should give the user a better error message
than a string of Invalid arguments:
$ uname -r
5.3.0-51-generic
$ ss -a cgroup /sys/fs/cgroup/unified
RTNETLINK answers: Invalid argument
RTNETLINK answers: Invalid argument
RTNETLINK answers: Invalid argument
RTNETLINK answers: Invalid argument
RTNETLINK answers: Invalid argument
RTNETLINK answers: Invalid argument
RTNETLINK answers: Invalid argument
RTNETLINK answers: Invalid argument
RTNETLINK answers: Invalid argument
next prev parent reply other threads:[~2020-05-13 2:03 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-09 16:52 [PATCH iproute2-next v2 1/3] ss: introduce cgroup2 cache and helper functions Dmitry Yakunin
[not found] ` <20200509165202.17959-1-zeil-XoJtRXgx1JseBXzfvpsJ4g@public.gmane.org>
2020-05-09 16:52 ` [PATCH iproute2-next v2 2/3] ss: add support for cgroup v2 information and filtering Dmitry Yakunin
2020-05-09 16:52 ` [PATCH iproute2-next v2 3/3] ss: add checks for bc filter support Dmitry Yakunin
2020-05-13 2:03 ` David Ahern [this message]
[not found] ` <42814b4f-dc95-d246-47a4-2b8c46dd607e-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2020-05-13 7:27 ` [PATCH iproute2-next v2 1/3] ss: introduce cgroup2 cache and helper functions Дмитрий Якунин
[not found] ` <25511589354341-ksC8LV8Y0H5cXLcuY5BXMCjHesifYMBh@public.gmane.org>
2020-05-14 3:28 ` David Ahern
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=42814b4f-dc95-d246-47a4-2b8c46dd607e@gmail.com \
--to=dsahern-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=zeil-XoJtRXgx1JseBXzfvpsJ4g@public.gmane.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