From: ebiederm@xmission.com (Eric W. Biederman)
To: wangyufen <wangyufen@huawei.com>
Cc: <netdev@vger.kernel.org>
Subject: Re: Issue with /proc/sys/net/ipv4/tcp_mem
Date: Mon, 12 Oct 2015 10:24:14 -0500 [thread overview]
Message-ID: <87y4f8qfdt.fsf@x220.int.ebiederm.org> (raw)
In-Reply-To: <561B7F98.1040809@huawei.com> (wangyufen@huawei.com's message of "Mon, 12 Oct 2015 17:38:32 +0800")
wangyufen <wangyufen@huawei.com> writes:
> Hi,
>
> I tried on linux-4.1:
> linux:~# cat /proc/sys/net/ipv4/tcp_mem
> 8388608 12582912 16777216
> linux:~# echo 1234 >/proc/sys/net/ipv4/tcp_mem
> -bash: echo: write error: Invalid argument
> linux:~# cat /proc/sys/net/ipv4/tcp_mem
> 1234 12582912 16777216
>
> the echo operation got error, but value already written to tcp_mem.
>
> I checked, patch f594d63199688ad568fb caused the issue.
Use the cgroup interface if you want per cgroup control.
Eric
next prev parent reply other threads:[~2015-10-12 15:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-12 9:38 Issue with /proc/sys/net/ipv4/tcp_mem wangyufen
2015-10-12 15:24 ` Eric W. Biederman [this message]
2015-10-12 16:37 ` Eric W. Biederman
2015-10-13 1:44 ` Eric Dumazet
2015-10-13 5:07 ` Eric W. Biederman
2015-11-28 8:13 ` wangyufen
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=87y4f8qfdt.fsf@x220.int.ebiederm.org \
--to=ebiederm@xmission.com \
--cc=netdev@vger.kernel.org \
--cc=wangyufen@huawei.com \
/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).