Partially revert "mm/memcontrol.c: keep local VM counters in sync with the hierarchical ones"
Subsystems (3)
PATCH 1/1 Partially revert "mm/memcontrol.c: keep local VM counters in sync with the hierarchical ones"
Commit 766a4c19d880 ("mm/memcontrol.c: keep local VM counters in sync with the hierarchical ones") effectively decreased the precision of per-memcg vmstats_local and per-memcg-per-node lruvec percpu counters.
That's good for displaying in memory.stat, but brings a serious regression into the reclaim process.
One issue I've discovered and debugged is the following:lruvec_lru_size() can return 0 instead of the actual number of pages in the lru list, preventing the kernel to reclaim last remaining pages. Result is yet another dying memory cgroups flooding. The opposite is also happening: scanning an empty lru list is the waste of cpu time.
Also, inactive_list_is_low() can return incorrect values, preventing the active lru from being scanned and freed. It can fail both because the size of active and inactive lists are inaccurate, and because the number of workingset refaults isn't precise. In other words, the result is pretty random.
I'm not sure, if using the approximate number of slab pages in count_shadow_number() is acceptable, but issues described above are enough to partially revert the patch.
Let's keep per-memcg vmstat_local batched (they are only used for displaying stats to the userspace), but keep lruvec stats precise. This change fixes the dead memcg flooding on my setup.
--- mm/memcontrol.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-)
mm/memcontrol.c +3 -5
@@ -746,15 +746,13 @@ void __mod_lruvec_state(struct lruvec *lruvec, enum node_stat_item idx,/* Update memcg */ __mod_memcg_state (memcg, idx, val); +/* Update lruvec */ +__this_cpu_add (pn->lruvec_stat_local->count[idx], val); + x = val +__this_cpu_read (pn->lruvec_stat_cpu->count[idx]);if (unlikely (abs (x) >MEMCG_CHARGE_BATCH )) {struct mem_cgroup_per_node *pi; -/* -* Batch local counters to keep them in sync with -* the hierarchical ones. -*/ -__this_cpu_add (pn->lruvec_stat_local->count[idx], x);for (pi = pn; pi; pi =parent_nodeinfo (pi, pgdat->node_id))atomic_long_add (x, &pi->lruvec_stat[idx]); x =0 ;
Signature · 1 line
2.21.0
Quoted 21 lines · Roman Gushchin
Commit
766a4c19d880("mm/memcontrol.c: keep local VM counters in sync with the hierarchical ones") effectively decreased the precision of per-memcgvmstats_localand per-memcg-per-node lruvec percpu counters.That's good for displaying in memory.stat, but brings a serious regression into the reclaim process.
One issue I've discovered and debugged is the following:
lruvec_lru_size()can return 0 instead of the actual number of pages in the lru list, preventing the kernel to reclaim last remaining pages. Result is yet another dying memory cgroups flooding. The opposite is also happening: scanning an empty lru list is the waste of cpu time.Also,
inactive_list_is_low()can return incorrect values, preventing the active lru from being scanned and freed. It can fail both because the size of active and inactive lists are inaccurate, and because the number of workingset refaults isn't precise. In other words, the result is pretty random.
Quoted 8 lines
I'm not sure, if using the approximate number of slab pages in
count_shadow_number()is acceptable, but issues described above are enough to partially revert the patch.Let's keep per-memcg
vmstat_localbatched (they are only used for displaying stats to the userspace), but keep lruvec stats precise. This change fixes the dead memcg flooding on my setup.
That will make some misunderstanding if the local counters are not in sync with the hierarchical ones
(someone may doubt whether there're something leaked.).
If we have to do it like this, I think we should better document this behavior.
Quoted 34 lines
Fixes 766a4c19d880 ("mm/memcontrol.c: keep local VM counters in sync with the hierarchical ones")Signed-off-by Roman Gushchin <[email protected]>Cc Yafang Shao <[email protected]>Cc Johannes Weiner <[email protected]>--- mm/memcontrol.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-)mm/memcontrol.c +3
-6@@ -746,15 +746,13 @@ void __mod_lruvec_state(struct lruvec *lruvec, enum node_stat_item idx,/* Update memcg */ __mod_memcg_state (memcg, idx, val); +/* Update lruvec */ +__this_cpu_add (pn->lruvec_stat_local->count[idx], val); + x = val +__this_cpu_read (pn->lruvec_stat_cpu->count[idx]);if (unlikely (abs (x) >MEMCG_CHARGE_BATCH )) {struct mem_cgroup_per_node *pi; -/* -* Batch local counters to keep them in sync with -* the hierarchical ones. -*/ -__this_cpu_add (pn->lruvec_stat_local->count[idx], x);for (pi = pn; pi; pi =parent_nodeinfo (pi, pgdat->node_id))atomic_long_add (x, &pi->lruvec_stat[idx]); x =0 ; --2.21.0
Quoted 28 lines · Roman Gushchin
Commit
766a4c19d880("mm/memcontrol.c: keep local VM counters in sync with the hierarchical ones") effectively decreased the precision of per-memcgvmstats_localand per-memcg-per-node lruvec percpu counters.That's good for displaying in memory.stat, but brings a serious regression into the reclaim process.
One issue I've discovered and debugged is the following:
lruvec_lru_size()can return 0 instead of the actual number of pages in the lru list, preventing the kernel to reclaim last remaining pages. Result is yet another dying memory cgroups flooding. The opposite is also happening: scanning an empty lru list is the waste of cpu time.Also,
inactive_list_is_low()can return incorrect values, preventing the active lru from being scanned and freed. It can fail both because the size of active and inactive lists are inaccurate, and because the number of workingset refaults isn't precise. In other words, the result is pretty random.I'm not sure, if using the approximate number of slab pages in
count_shadow_number()is acceptable, but issues described above are enough to partially revert the patch.Let's keep per-memcg
vmstat_localbatched (they are only used for displaying stats to the userspace), but keep lruvec stats precise. This change fixes the dead memcg flooding on my setup.
Quoted 7 lines
Fixes 766a4c19d880 ("mm/memcontrol.c: keep local VM counters in sync with the hierarchical ones")Signed-off-by Roman Gushchin <[email protected]>Cc Yafang Shao <[email protected]>Cc Johannes Weiner <[email protected]>--- mm/memcontrol.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-)
<formletter>
This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read:
https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html
for how to do this properly.
</formletter>
Quoted 26 lines · Yafang Shao
Quoted 25 lines · Roman Gushchin
Commit
766a4c19d880("mm/memcontrol.c: keep local VM counters in sync with the hierarchical ones") effectively decreased the precision of per-memcgvmstats_localand per-memcg-per-node lruvec percpu counters.That's good for displaying in memory.stat, but brings a serious regression into the reclaim process.
One issue I've discovered and debugged is the following:
lruvec_lru_size()can return 0 instead of the actual number of pages in the lru list, preventing the kernel to reclaim last remaining pages. Result is yet another dying memory cgroups flooding. The opposite is also happening: scanning an empty lru list is the waste of cpu time.Also,
inactive_list_is_low()can return incorrect values, preventing the active lru from being scanned and freed. It can fail both because the size of active and inactive lists are inaccurate, and because the number of workingset refaults isn't precise. In other words, the result is pretty random.I'm not sure, if using the approximate number of slab pages in
count_shadow_number()is acceptable, but issues described above are enough to partially revert the patch.
Quoted 8 lines
Quoted 4 lines
Let's keep per-memcg
vmstat_localbatched (they are only used for displaying stats to the userspace), but keep lruvec stats precise. This change fixes the dead memcg flooding on my setup.That will make some misunderstanding if the local counters are not in sync with the hierarchical ones
(someone may doubt whether there're something leaked.).
Sure, but the actual leakage is a much more serious issue.
Quoted 1 line
If we have to do it like this, I think we should better document this behavior.
Lru size calculations can be done using per-zone counters, which is actually cheaper, because the number of zones is usually smaller than the number of cpus. I'll send a corresponding patch on Monday.
Maybe other use cases can also be converted?
Thanks!
Quoted 35 lines
Quoted 35 lines
Fixes 766a4c19d880 ("mm/memcontrol.c: keep local VM counters in sync with the hierarchical ones")Signed-off-by Roman Gushchin <[email protected]>Cc Yafang Shao <[email protected]>Cc Johannes Weiner <[email protected]>--- mm/memcontrol.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-)mm/memcontrol.c +3
-6@@ -746,15 +746,13 @@ void __mod_lruvec_state(struct lruvec *lruvec, enum node_stat_item idx,/* Update memcg */ __mod_memcg_state (memcg, idx, val); +/* Update lruvec */ +__this_cpu_add (pn->lruvec_stat_local->count[idx], val); + x = val +__this_cpu_read (pn->lruvec_stat_cpu->count[idx]);if (unlikely (abs (x) >MEMCG_CHARGE_BATCH )) {struct mem_cgroup_per_node *pi; -/* -* Batch local counters to keep them in sync with -* the hierarchical ones. -*/ -__this_cpu_add (pn->lruvec_stat_local->count[idx], x);for (pi = pn; pi; pi =parent_nodeinfo (pi, pgdat->node_id))atomic_long_add (x, &pi->lruvec_stat[idx]); x =0 ; --2.21.0
Quoted 37 lines · Greg KH
Quoted 28 lines · Roman Gushchin
Commit
766a4c19d880("mm/memcontrol.c: keep local VM counters in sync with the hierarchical ones") effectively decreased the precision of per-memcgvmstats_localand per-memcg-per-node lruvec percpu counters.That's good for displaying in memory.stat, but brings a serious regression into the reclaim process.
One issue I've discovered and debugged is the following:
lruvec_lru_size()can return 0 instead of the actual number of pages in the lru list, preventing the kernel to reclaim last remaining pages. Result is yet another dying memory cgroups flooding. The opposite is also happening: scanning an empty lru list is the waste of cpu time.Also,
inactive_list_is_low()can return incorrect values, preventing the active lru from being scanned and freed. It can fail both because the size of active and inactive lists are inaccurate, and because the number of workingset refaults isn't precise. In other words, the result is pretty random.I'm not sure, if using the approximate number of slab pages in
count_shadow_number()is acceptable, but issues described above are enough to partially revert the patch.Let's keep per-memcg
vmstat_localbatched (they are only used for displaying stats to the userspace), but keep lruvec stats precise. This change fixes the dead memcg flooding on my setup.Quoted 7 lines
Fixes 766a4c19d880 ("mm/memcontrol.c: keep local VM counters in sync with the hierarchical ones")Signed-off-by Roman Gushchin <[email protected]>Cc Yafang Shao <[email protected]>Cc Johannes Weiner <[email protected]>--- mm/memcontrol.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-)
Quoted 6 lines
<formletter>
This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read:
https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html
for how to do this properly.
Oh, I'm sorry, will read and follow next time. Thanks!
Quoted 2 lines
</formletter>
Quoted 37 lines · Roman Gushchin
Quoted 26 lines · Yafang Shao
Quoted 25 lines · Roman Gushchin
Commit
766a4c19d880("mm/memcontrol.c: keep local VM counters in sync with the hierarchical ones") effectively decreased the precision of per-memcgvmstats_localand per-memcg-per-node lruvec percpu counters.That's good for displaying in memory.stat, but brings a serious regression into the reclaim process.
One issue I've discovered and debugged is the following:
lruvec_lru_size()can return 0 instead of the actual number of pages in the lru list, preventing the kernel to reclaim last remaining pages. Result is yet another dying memory cgroups flooding. The opposite is also happening: scanning an empty lru list is the waste of cpu time.Also,
inactive_list_is_low()can return incorrect values, preventing the active lru from being scanned and freed. It can fail both because the size of active and inactive lists are inaccurate, and because the number of workingset refaults isn't precise. In other words, the result is pretty random.I'm not sure, if using the approximate number of slab pages in
count_shadow_number()is acceptable, but issues described above are enough to partially revert the patch.Quoted 8 lines
Quoted 4 lines
Let's keep per-memcg
vmstat_localbatched (they are only used for displaying stats to the userspace), but keep lruvec stats precise. This change fixes the dead memcg flooding on my setup.That will make some misunderstanding if the local counters are not in sync with the hierarchical ones
(someone may doubt whether there're something leaked.).
Quoted 8 lines
Sure, but the actual leakage is a much more serious issue.
Quoted 1 line
If we have to do it like this, I think we should better document this behavior.
Lru size calculations can be done using per-zone counters, which is actually cheaper, because the number of zones is usually smaller than the number of cpus. I'll send a corresponding patch on Monday.
Looks like a good idea.
Quoted 1 line
Maybe other use cases can also be converted?
We'd better keep the behavior the same across counters. I think you can have a try.
Thanks
Yafang
Quoted 38 lines
Thanks!
Quoted 35 lines
Quoted 35 lines
Fixes 766a4c19d880 ("mm/memcontrol.c: keep local VM counters in sync with the hierarchical ones")Signed-off-by Roman Gushchin <[email protected]>Cc Yafang Shao <[email protected]>Cc Johannes Weiner <[email protected]>--- mm/memcontrol.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-)mm/memcontrol.c +3
-6@@ -746,15 +746,13 @@ void __mod_lruvec_state(struct lruvec *lruvec, enum node_stat_item idx,/* Update memcg */ __mod_memcg_state (memcg, idx, val); +/* Update lruvec */ +__this_cpu_add (pn->lruvec_stat_local->count[idx], val); + x = val +__this_cpu_read (pn->lruvec_stat_cpu->count[idx]);if (unlikely (abs (x) >MEMCG_CHARGE_BATCH )) {struct mem_cgroup_per_node *pi; -/* -* Batch local counters to keep them in sync with -* the hierarchical ones. -*/ -__this_cpu_add (pn->lruvec_stat_local->count[idx], x);for (pi = pn; pi; pi =parent_nodeinfo (pi, pgdat->node_id))atomic_long_add (x, &pi->lruvec_stat[idx]); x =0 ; --2.21.0
Quoted 47 lines · Yafang Shao
Quoted 37 lines · Roman Gushchin
Quoted 26 lines · Yafang Shao
Quoted 25 lines · Roman Gushchin
Commit
766a4c19d880("mm/memcontrol.c: keep local VM counters in sync with the hierarchical ones") effectively decreased the precision of per-memcgvmstats_localand per-memcg-per-node lruvec percpu counters.That's good for displaying in memory.stat, but brings a serious regression into the reclaim process.
One issue I've discovered and debugged is the following:
lruvec_lru_size()can return 0 instead of the actual number of pages in the lru list, preventing the kernel to reclaim last remaining pages. Result is yet another dying memory cgroups flooding. The opposite is also happening: scanning an empty lru list is the waste of cpu time.Also,
inactive_list_is_low()can return incorrect values, preventing the active lru from being scanned and freed. It can fail both because the size of active and inactive lists are inaccurate, and because the number of workingset refaults isn't precise. In other words, the result is pretty random.I'm not sure, if using the approximate number of slab pages in
count_shadow_number()is acceptable, but issues described above are enough to partially revert the patch.Quoted 8 lines
Quoted 4 lines
Let's keep per-memcg
vmstat_localbatched (they are only used for displaying stats to the userspace), but keep lruvec stats precise. This change fixes the dead memcg flooding on my setup.That will make some misunderstanding if the local counters are not in sync with the hierarchical ones
(someone may doubt whether there're something leaked.).Quoted 8 lines
Sure, but the actual leakage is a much more serious issue.
Quoted 1 line
If we have to do it like this, I think we should better document this behavior.
Lru size calculations can be done using per-zone counters, which is actually cheaper, because the number of zones is usually smaller than the number of cpus. I'll send a corresponding patch on Monday.
Quoted 6 lines
Looks like a good idea.
Quoted 1 line
Maybe other use cases can also be converted?
We'd better keep the behavior the same across counters. I think you can have a try.
As I said, consistency of counters is important, but not nearly as important as the real behavior of the system. Especially because we talk about per-node memcg statistics, which I believe is mostly used for debugging.
So for now I think the right thing to do is to revert the change to fix the memory reclaim process. And then we can discuss how to get counters right.
Thanks!
Quoted 56 lines · Roman Gushchin
Quoted 47 lines · Yafang Shao
Quoted 37 lines · Roman Gushchin
Quoted 26 lines · Yafang Shao
Quoted 25 lines · Roman Gushchin
Commit
766a4c19d880("mm/memcontrol.c: keep local VM counters in sync with the hierarchical ones") effectively decreased the precision of per-memcgvmstats_localand per-memcg-per-node lruvec percpu counters.That's good for displaying in memory.stat, but brings a serious regression into the reclaim process.
One issue I've discovered and debugged is the following:
lruvec_lru_size()can return 0 instead of the actual number of pages in the lru list, preventing the kernel to reclaim last remaining pages. Result is yet another dying memory cgroups flooding. The opposite is also happening: scanning an empty lru list is the waste of cpu time.Also,
inactive_list_is_low()can return incorrect values, preventing the active lru from being scanned and freed. It can fail both because the size of active and inactive lists are inaccurate, and because the number of workingset refaults isn't precise. In other words, the result is pretty random.I'm not sure, if using the approximate number of slab pages in
count_shadow_number()is acceptable, but issues described above are enough to partially revert the patch.Quoted 8 lines
Quoted 4 lines
Let's keep per-memcg
vmstat_localbatched (they are only used for displaying stats to the userspace), but keep lruvec stats precise. This change fixes the dead memcg flooding on my setup.That will make some misunderstanding if the local counters are not in sync with the hierarchical ones
(someone may doubt whether there're something leaked.).Quoted 8 lines
Sure, but the actual leakage is a much more serious issue.
Quoted 1 line
If we have to do it like this, I think we should better document this behavior.
Lru size calculations can be done using per-zone counters, which is actually cheaper, because the number of zones is usually smaller than the number of cpus. I'll send a corresponding patch on Monday.
Quoted 6 lines
Looks like a good idea.
Quoted 1 line
Maybe other use cases can also be converted?
We'd better keep the behavior the same across counters. I think you can have a try.
Quoted 8 lines
As I said, consistency of counters is important, but not nearly as important as the real behavior of the system. Especially because we talk about per-node memcg statistics, which I believe is mostly used for debugging.
So for now I think the right thing to do is to revert the change to fix the memory reclaim process. And then we can discuss how to get counters right.
Sure.
Thanks
Yafang
Quoted 24 lines · Roman Gushchin
Commit
766a4c19d880("mm/memcontrol.c: keep local VM counters in sync with the hierarchical ones") effectively decreased the precision of per-memcgvmstats_localand per-memcg-per-node lruvec percpu counters.That's good for displaying in memory.stat, but brings a serious regression into the reclaim process.
One issue I've discovered and debugged is the following:
lruvec_lru_size()can return 0 instead of the actual number of pages in the lru list, preventing the kernel to reclaim last remaining pages. Result is yet another dying memory cgroups flooding. The opposite is also happening: scanning an empty lru list is the waste of cpu time.Also,
inactive_list_is_low()can return incorrect values, preventing the active lru from being scanned and freed. It can fail both because the size of active and inactive lists are inaccurate, and because the number of workingset refaults isn't precise. In other words, the result is pretty random.I'm not sure, if using the approximate number of slab pages in
count_shadow_number()is acceptable, but issues described above are enough to partially revert the patch.
Quoted 8 lines
Let's keep per-memcg
vmstat_localbatched (they are only used for displaying stats to the userspace), but keep lruvec stats precise. This change fixes the dead memcg flooding on my setup.Fixes 766a4c19d880 ("mm/memcontrol.c: keep local VM counters in sync with the hierarchical ones")Signed-off-by Roman Gushchin <[email protected]>Cc Yafang Shao <[email protected]>Cc Johannes Weiner <[email protected]>
Any other concerns/comments here?
I'd prefer to fix the regression: we're likely leaking several pages of memory for each created and destroyed memory cgroup. Plus all internal structures, which are measured in hundreds of kb.
Thanks!
Yafang Shao
Acked-byQuoted 35 lines · Roman Gushchin
Quoted 24 lines · Roman Gushchin
Commit
766a4c19d880("mm/memcontrol.c: keep local VM counters in sync with the hierarchical ones") effectively decreased the precision of per-memcgvmstats_localand per-memcg-per-node lruvec percpu counters.That's good for displaying in memory.stat, but brings a serious regression into the reclaim process.
One issue I've discovered and debugged is the following:
lruvec_lru_size()can return 0 instead of the actual number of pages in the lru list, preventing the kernel to reclaim last remaining pages. Result is yet another dying memory cgroups flooding. The opposite is also happening: scanning an empty lru list is the waste of cpu time.Also,
inactive_list_is_low()can return incorrect values, preventing the active lru from being scanned and freed. It can fail both because the size of active and inactive lists are inaccurate, and because the number of workingset refaults isn't precise. In other words, the result is pretty random.I'm not sure, if using the approximate number of slab pages in
count_shadow_number()is acceptable, but issues described above are enough to partially revert the patch.Quoted 8 lines
Let's keep per-memcg
vmstat_localbatched (they are only used for displaying stats to the userspace), but keep lruvec stats precise. This change fixes the dead memcg flooding on my setup.Fixes 766a4c19d880 ("mm/memcontrol.c: keep local VM counters in sync with the hierarchical ones")Signed-off-by Roman Gushchin <[email protected]>Cc Yafang Shao <[email protected]>Cc Johannes Weiner <[email protected]>
Quoted 6 lines
Any other concerns/comments here?
I'd prefer to fix the regression: we're likely leaking several pages of memory for each created and destroyed memory cgroup. Plus all internal structures, which are measured in hundreds of kb.
Hi Roman,
As it really introduces issues, I agree with you that we should fix it first.
So for your fix,
Thanks
Yafang
Andrew Morton
maintainerQuoted 8 lines · On Sat, 17 Aug 2019 19:15:23 +0000 Roman Gushchin <[email protected]> wrote:
Quoted 8 lines
Quoted 7 lines
Fixes 766a4c19d880 ("mm/memcontrol.c: keep local VM counters in sync with the hierarchical ones")Signed-off-by Roman Gushchin <[email protected]>Cc Yafang Shao <[email protected]>Cc Johannes Weiner <[email protected]>--- mm/memcontrol.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-)
Quoted 8 lines
Quoted 6 lines
<formletter>
This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read:
https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html
for how to do this properly.Oh, I'm sorry, will read and follow next time. Thanks!
766a4c19d880 is not present in 5.2 so no -stable backport is needed, yes?
Den 24-08-2019 kl. 22:57, skrev Andrew Morton:
Quoted 12 lines · On Sat, 17 Aug 2019 19:15:23 +0000 Roman Gushchin <[email protected]> wrote:
Quoted 11 lines
Quoted 11 lines
Quoted 8 lines
Fixes 766a4c19d880 ("mm/memcontrol.c: keep local VM counters in sync with the hierarchical ones")Signed-off-by Roman Gushchin <[email protected]>Cc Yafang Shao <[email protected]>Cc Johannes Weiner <[email protected]>--- mm/memcontrol.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-)<formletter>
Quoted 9 lines
Quoted 6 lines
Quoted 4 lines
This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read:
https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html
for how to do this properly.Oh, I'm sorry, will read and follow next time. Thanks!
766a4c19d880is not present in 5.2 so no -stable backport is needed, yes?
Unfortunately it got added in 5.2.7, so backport is needed.
--
Thomas
Michal Hocko
maintainerQuoted 18 lines · Thomas Backlund
Den 24-08-2019 kl. 22:57, skrev Andrew Morton:
Quoted 17 lines · On Sat, 17 Aug 2019 19:15:23 +0000 Roman Gushchin <[email protected]> wrote:
Quoted 16 lines
Quoted 15 lines
Quoted 8 lines
Fixes 766a4c19d880 ("mm/memcontrol.c: keep local VM counters in sync with the hierarchical ones")Signed-off-by Roman Gushchin <[email protected]>Cc Yafang Shao <[email protected]>Cc Johannes Weiner <[email protected]>--- mm/memcontrol.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-)<formletter>
This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read:
https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html
for how to do this properly.
Quoted 6 lines
Quoted 4 lines
Quoted 1 line
Oh, I'm sorry, will read and follow next time. Thanks!
766a4c19d880is not present in 5.2 so no -stable backport is needed, yes?Unfortunately it got added in 5.2.7, so backport is needed.
yet another example of patch not marked for stable backported to the stable tree. yay...
Signature · 2 lines
Michal Hocko SUSE Labs
Quoted 21 lines · Michal Hocko
Quoted 20 lines · Thomas Backlund
Den 24-08-2019 kl. 22:57, skrev Andrew Morton:
Quoted 19 lines · On Sat, 17 Aug 2019 19:15:23 +0000 Roman Gushchin <[email protected]> wrote:
Quoted 17 lines
Quoted 9 lines
Quoted 8 lines
Fixes 766a4c19d880 ("mm/memcontrol.c: keep local VM counters in sync with the hierarchical ones")Signed-off-by Roman Gushchin <[email protected]>Cc Yafang Shao <[email protected]>Cc Johannes Weiner <[email protected]>--- mm/memcontrol.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-)Quoted 6 lines
<formletter>
This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read:
https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html
for how to do this properly.Oh, I'm sorry, will read and follow next time. Thanks!
Quoted 7 lines
Quoted 4 lines
Quoted 2 lines
766a4c19d880is not present in 5.2 so no -stable backport is needed, yes?Unfortunately it got added in 5.2.7, so backport is needed.
yet another example of patch not marked for stable backported to the stable tree. yay...
If you do not want autobot to pick up patches for specific subsystems/files, just let us know and we will add them to the blacklist.
thanks,
greg k-h
Michal Hocko
maintainerQuoted 25 lines · Greg KH
Quoted 24 lines · Michal Hocko
Quoted 23 lines · Thomas Backlund
Den 24-08-2019 kl. 22:57, skrev Andrew Morton:
Quoted 21 lines · On Sat, 17 Aug 2019 19:15:23 +0000 Roman Gushchin <[email protected]> wrote:
Quoted 9 lines
Quoted 9 lines
Quoted 8 lines
Fixes 766a4c19d880 ("mm/memcontrol.c: keep local VM counters in sync with the hierarchical ones")Signed-off-by Roman Gushchin <[email protected]>Cc Yafang Shao <[email protected]>Cc Johannes Weiner <[email protected]>--- mm/memcontrol.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-)Quoted 8 lines
Quoted 6 lines
<formletter>
This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read:
https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html
for how to do this properly.Oh, I'm sorry, will read and follow next time. Thanks!
766a4c19d880is not present in 5.2 so no -stable backport is needed, yes?
Quoted 8 lines
Quoted 4 lines
Quoted 1 line
Unfortunately it got added in 5.2.7, so backport is needed.
yet another example of patch not marked for stable backported to the stable tree. yay...
If you do not want autobot to pick up patches for specific subsystems/files, just let us know and we will add them to the blacklist.
Done that on several occasions over last year and so. I always get "yep we are going to black list" and whoops and we are back there with patches going to stable like nothing happened. We've been through this discussion so many times I am tired of it and to be honest I simply do not care anymore.
I will keep encouraging people to mark patches for stable but I do not give a wee bit about any reports for the stable tree. Nor do I care whether something made it in and we should be careful to mark another patch for stable as a fixup like this one.
Signature · 2 lines
Michal Hocko SUSE Labs
Quoted 41 lines · Michal Hocko
Quoted 25 lines · Greg KH
Quoted 24 lines · Michal Hocko
Quoted 23 lines · Thomas Backlund
Den 24-08-2019 kl. 22:57, skrev Andrew Morton:
Quoted 21 lines · On Sat, 17 Aug 2019 19:15:23 +0000 Roman Gushchin <[email protected]> wrote:
Quoted 9 lines
Quoted 9 lines
Quoted 8 lines
Fixes 766a4c19d880 ("mm/memcontrol.c: keep local VM counters in sync with the hierarchical ones")Signed-off-by Roman Gushchin <[email protected]>Cc Yafang Shao <[email protected]>Cc Johannes Weiner <[email protected]>--- mm/memcontrol.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-)Quoted 8 lines
Quoted 6 lines
<formletter>
This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read:
https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html
for how to do this properly.Oh, I'm sorry, will read and follow next time. Thanks!
766a4c19d880is not present in 5.2 so no -stable backport is needed, yes?Quoted 8 lines
Quoted 4 lines
Quoted 1 line
Unfortunately it got added in 5.2.7, so backport is needed.
yet another example of patch not marked for stable backported to the stable tree. yay...
If you do not want autobot to pick up patches for specific subsystems/files, just let us know and we will add them to the blacklist.
Done that on several occasions over last year and so. I always get "yep we are going to black list" and whoops and we are back there with patches going to stable like nothing happened. We've been through this discussion so many times I am tired of it and to be honest I simply do not care anymore.
Quoted 4 lines
I will keep encouraging people to mark patches for stable but I do not give a wee bit about any reports for the stable tree. Nor do I care whether something made it in and we should be careful to mark another patch for stable as a fixup like this one.
Sasha, can you add these to the blacklist for autosel?
thanks,
greg k-h