Re: BUG: Bad page state in process - page dumped because: page still charged to cgroup

2020-07-02 Thread Roman Gushchin
On Thu, Jul 02, 2020 at 07:13:02PM +0200, Michal Hocko wrote: > On Thu 02-07-20 09:37:38, Roman Gushchin wrote: > > On Thu, Jul 02, 2020 at 06:22:02PM +0200, Michal Hocko wrote: > > > On Wed 01-07-20 11:45:52, Roman Gushchin wrote: > > > [...] > > > > >From c97afecd32c0db5e024be9ba72f43d22974f5bcd

Re: BUG: Bad page state in process - page dumped because: page still charged to cgroup

2020-07-02 Thread Michal Hocko
On Thu 02-07-20 09:37:38, Roman Gushchin wrote: > On Thu, Jul 02, 2020 at 06:22:02PM +0200, Michal Hocko wrote: > > On Wed 01-07-20 11:45:52, Roman Gushchin wrote: > > [...] > > > >From c97afecd32c0db5e024be9ba72f43d22974f5bcd Mon Sep 17 00:00:00 2001 > > > From: Roman Gushchin > > > Date: Wed, 1

Re: BUG: Bad page state in process - page dumped because: page still charged to cgroup

2020-07-02 Thread Michal Hocko
On Thu 02-07-20 18:35:31, Vlastimil Babka wrote: > On 7/2/20 6:22 PM, Michal Hocko wrote: > > On Wed 01-07-20 11:45:52, Roman Gushchin wrote: > > [...] > >> >From c97afecd32c0db5e024be9ba72f43d22974f5bcd Mon Sep 17 00:00:00 2001 > >> From: Roman Gushchin > >> Date: Wed, 1 Jul 2020 11:05:32 -0700

Re: BUG: Bad page state in process - page dumped because: page still charged to cgroup

2020-07-02 Thread Roman Gushchin
On Thu, Jul 02, 2020 at 06:35:31PM +0200, Vlastimil Babka wrote: > On 7/2/20 6:22 PM, Michal Hocko wrote: > > On Wed 01-07-20 11:45:52, Roman Gushchin wrote: > > [...] > >> >From c97afecd32c0db5e024be9ba72f43d22974f5bcd Mon Sep 17 00:00:00 2001 > >> From: Roman Gushchin > >> Date: Wed, 1 Jul 2020

Re: BUG: Bad page state in process - page dumped because: page still charged to cgroup

2020-07-02 Thread Roman Gushchin
On Thu, Jul 02, 2020 at 06:22:02PM +0200, Michal Hocko wrote: > On Wed 01-07-20 11:45:52, Roman Gushchin wrote: > [...] > > >From c97afecd32c0db5e024be9ba72f43d22974f5bcd Mon Sep 17 00:00:00 2001 > > From: Roman Gushchin > > Date: Wed, 1 Jul 2020 11:05:32 -0700 > > Subject: [PATCH] mm: kmem: make

Re: BUG: Bad page state in process - page dumped because: page still charged to cgroup

2020-07-02 Thread Vlastimil Babka
On 7/2/20 6:22 PM, Michal Hocko wrote: > On Wed 01-07-20 11:45:52, Roman Gushchin wrote: > [...] >> >From c97afecd32c0db5e024be9ba72f43d22974f5bcd Mon Sep 17 00:00:00 2001 >> From: Roman Gushchin >> Date: Wed, 1 Jul 2020 11:05:32 -0700 >> Subject: [PATCH] mm: kmem: make memcg_kmem_enabled()

Re: BUG: Bad page state in process - page dumped because: page still charged to cgroup

2020-07-02 Thread Michal Hocko
On Wed 01-07-20 11:45:52, Roman Gushchin wrote: [...] > >From c97afecd32c0db5e024be9ba72f43d22974f5bcd Mon Sep 17 00:00:00 2001 > From: Roman Gushchin > Date: Wed, 1 Jul 2020 11:05:32 -0700 > Subject: [PATCH] mm: kmem: make memcg_kmem_enabled() irreversible > > Historically the kernel memory

Re: BUG: Bad page state in process - page dumped because: page still charged to cgroup

2020-07-02 Thread Shakeel Butt
On Wed, Jul 1, 2020 at 11:46 AM Roman Gushchin wrote: ... > -- > > From c97afecd32c0db5e024be9ba72f43d22974f5bcd Mon Sep 17 00:00:00 2001 > From: Roman Gushchin > Date: Wed, 1 Jul 2020 11:05:32 -0700 > Subject: [PATCH] mm: kmem: make memcg_kmem_enabled() irreversible > > Historically the kernel

Re: BUG: Bad page state in process - page dumped because: page still charged to cgroup

2020-07-02 Thread Roman Gushchin
On Thu, Jul 02, 2020 at 09:25:08PM +0530, Naresh Kamboju wrote: > On Thu, 2 Jul 2020 at 21:19, Roman Gushchin wrote: > > > > On Thu, Jul 02, 2020 at 12:22:03PM +0530, Naresh Kamboju wrote: > > > On Thu, 2 Jul 2020 at 00:16, Roman Gushchin wrote: > > > > > > > > On Wed, Jul 01, 2020 at 10:29:04AM

Re: BUG: Bad page state in process - page dumped because: page still charged to cgroup

2020-07-02 Thread Naresh Kamboju
On Thu, 2 Jul 2020 at 21:19, Roman Gushchin wrote: > > On Thu, Jul 02, 2020 at 12:22:03PM +0530, Naresh Kamboju wrote: > > On Thu, 2 Jul 2020 at 00:16, Roman Gushchin wrote: > > > > > > On Wed, Jul 01, 2020 at 10:29:04AM +0200, Michal Hocko wrote: > > > > Smells like a different observable

Re: BUG: Bad page state in process - page dumped because: page still charged to cgroup

2020-07-02 Thread Roman Gushchin
On Thu, Jul 02, 2020 at 12:22:03PM +0530, Naresh Kamboju wrote: > On Thu, 2 Jul 2020 at 00:16, Roman Gushchin wrote: > > > > On Wed, Jul 01, 2020 at 10:29:04AM +0200, Michal Hocko wrote: > > > Smells like a different observable problem with the same/similar culprit > > > as > > >

Re: BUG: Bad page state in process - page dumped because: page still charged to cgroup

2020-07-02 Thread Naresh Kamboju
On Thu, 2 Jul 2020 at 00:16, Roman Gushchin wrote: > > On Wed, Jul 01, 2020 at 10:29:04AM +0200, Michal Hocko wrote: > > Smells like a different observable problem with the same/similar culprit > > as > >

Re: BUG: Bad page state in process - page dumped because: page still charged to cgroup

2020-07-02 Thread Michal Hocko
On Wed 01-07-20 11:45:52, Roman Gushchin wrote: [...] > So it makes me think that somehow memcg_kmem_enabled() became false > after being true, which can cause refcounting problems as well. Isn't this a similar class of problem as

Re: BUG: Bad page state in process - page dumped because: page still charged to cgroup

2020-07-01 Thread Roman Gushchin
On Wed, Jul 01, 2020 at 10:29:04AM +0200, Michal Hocko wrote: > Smells like a different observable problem with the same/similar culprit > as > http://lkml.kernel.org/r/CA+G9fYtrgF_EZHi0vi+HyWiXT5LGggDhVXtNspc=OzzFhL=x...@mail.gmail.com > > On Wed 01-07-20 13:48:57, Naresh Kamboju wrote: > >

Re: BUG: Bad page state in process - page dumped because: page still charged to cgroup

2020-07-01 Thread Naresh Kamboju
On Wed, 1 Jul 2020 at 13:59, Michal Hocko wrote: > > Smells like a different observable problem with the same/similar culprit > as > http://lkml.kernel.org/r/CA+G9fYtrgF_EZHi0vi+HyWiXT5LGggDhVXtNspc=OzzFhL=x...@mail.gmail.com Before I start bisecting here I am sharing more details of the

Re: BUG: Bad page state in process - page dumped because: page still charged to cgroup

2020-07-01 Thread Michal Hocko
Smells like a different observable problem with the same/similar culprit as http://lkml.kernel.org/r/CA+G9fYtrgF_EZHi0vi+HyWiXT5LGggDhVXtNspc=OzzFhL=x...@mail.gmail.com On Wed 01-07-20 13:48:57, Naresh Kamboju wrote: > While running LTP mm test suite on x86_64 device the BUG: Bad page > state in

BUG: Bad page state in process - page dumped because: page still charged to cgroup

2020-07-01 Thread Naresh Kamboju
While running LTP mm test suite on x86_64 device the BUG: Bad page state in process noticed on linux-next 20200630 tag. Steps to reproduce: - boot linux-next 20200630 kernel on x86_64 device - cd /opt/ltp - ./runltp -f mm metadata: git branch: master git repo: