From: davem@davemloft.net (David Miller)
To: linux-security-module@vger.kernel.org
Subject: [PATCH] net: don't unnecessarily load kernel modules in dev_ioctl()
Date: Thu, 08 Mar 2018 13:11:15 -0500 (EST) [thread overview]
Message-ID: <20180308.131115.611191617522587758.davem@davemloft.net> (raw)
In-Reply-To: <c2d378b6-80b3-d9e1-7087-95f143875067@gmail.com>
From: Eric Dumazet <eric.dumazet@gmail.com>
Date: Thu, 8 Mar 2018 10:05:12 -0800
> Another problematic legacy behavior is the automatic creation of
> fallback tunnels, which hurts netns creation/deletion.
>
> Some environments want to create a netns for every job/task, and they
> do not care if the init netns has these tunnels or not.
>
> We have a local patch adding yet another knob to control this, since
> it saves a lot of cpu cycles (about 10ms per netns create/delete pair
> here)
Yeah, understood. At small scale the current behavior maybe made
sense, but these days it really doesn't.
No objections to the knob if you want to submit it.
--
To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2018-03-08 18:11 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-06 22:27 [PATCH] net: don't unnecessarily load kernel modules in dev_ioctl() Paul Moore
2018-03-06 22:32 ` Paul Moore
2018-03-07 20:13 ` David Miller
2018-03-06 23:59 ` Stephen Hemminger
2018-03-07 13:46 ` Paul Moore
2018-03-08 17:34 ` David Miller
2018-03-08 18:05 ` Eric Dumazet
2018-03-08 18:11 ` David Miller [this message]
2018-03-08 20:53 ` Eric Dumazet
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=20180308.131115.611191617522587758.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=linux-security-module@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;
as well as URLs for NNTP newsgroup(s).