Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1269047
| From | David Miller <davem@davemloft.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 04/14] net: tcp_memcontrol: remove bogus hierarchy pressure propagation |
| Date | 2015-11-13 17:10 +0100 |
| Message-ID | <qup5f-by-19@gated-at.bofh.it> (permalink) |
| References | <qu9MR-79j-5@gated-at.bofh.it> <qu9MR-79j-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Johannes Weiner <hannes@cmpxchg.org> Date: Thu, 12 Nov 2015 18:41:23 -0500 > When a cgroup currently breaches its socket memory limit, it enters > memory pressure mode for itself and its *ancestors*. This throttles > transmission in unrelated sibling and cousin subtrees that have > nothing to do with the breached limit. > > On the contrary, breaching a limit should make that group and its > *children* enter memory pressure mode. But this happens already, > albeit lazily: if an ancestor limit is breached, siblings will enter > memory pressure on their own once the next packet arrives for them. > > So no additional hierarchy code is needed. Remove the bogus stuff. > > Signed-off-by: Johannes Weiner <hannes@cmpxchg.org> Acked-by: David S. Miller <davem@davemloft.net> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 04/14] net: tcp_memcontrol: remove bogus hierarchy pressure propagation Johannes Weiner <hannes@cmpxchg.org> - 2015-11-13 00:50 +0100 Re: [PATCH 04/14] net: tcp_memcontrol: remove bogus hierarchy pressure propagation David Miller <davem@davemloft.net> - 2015-11-13 17:10 +0100
csiph-web