Re: [PATCH] mm: warn only once if page table misaccounting is detected

2018-11-27 Thread Michal Hocko
On Tue 27-11-18 15:36:38, Heiko Carstens wrote: > On Tue, Nov 27, 2018 at 02:19:16PM +0100, Michal Hocko wrote: > > On Tue 27-11-18 09:36:03, Heiko Carstens wrote: > > > Use pr_alert_once() instead of pr_alert() if page table misaccounting > > > has been detected. > > > > > > If this happens once

Re: [PATCH] mm: warn only once if page table misaccounting is detected

2018-11-27 Thread Michal Hocko
On Tue 27-11-18 15:36:38, Heiko Carstens wrote: > On Tue, Nov 27, 2018 at 02:19:16PM +0100, Michal Hocko wrote: > > On Tue 27-11-18 09:36:03, Heiko Carstens wrote: > > > Use pr_alert_once() instead of pr_alert() if page table misaccounting > > > has been detected. > > > > > > If this happens once

Re: [PATCH] mm: warn only once if page table misaccounting is detected

2018-11-27 Thread William Kucharski
> On Nov 27, 2018, at 8:52 AM, Sean Christopherson > wrote: > > On Tue, Nov 27, 2018 at 09:36:03AM +0100, Heiko Carstens wrote: >> Use pr_alert_once() instead of pr_alert() if page table misaccounting >> has been detected. >> >> If this happens once it is very likely that there will be

Re: [PATCH] mm: warn only once if page table misaccounting is detected

2018-11-27 Thread William Kucharski
> On Nov 27, 2018, at 8:52 AM, Sean Christopherson > wrote: > > On Tue, Nov 27, 2018 at 09:36:03AM +0100, Heiko Carstens wrote: >> Use pr_alert_once() instead of pr_alert() if page table misaccounting >> has been detected. >> >> If this happens once it is very likely that there will be

Re: [PATCH] mm: warn only once if page table misaccounting is detected

2018-11-27 Thread Sean Christopherson
On Tue, Nov 27, 2018 at 09:36:03AM +0100, Heiko Carstens wrote: > Use pr_alert_once() instead of pr_alert() if page table misaccounting > has been detected. > > If this happens once it is very likely that there will be numerous > other occurrence as well, which would flood dmesg and the console

Re: [PATCH] mm: warn only once if page table misaccounting is detected

2018-11-27 Thread Sean Christopherson
On Tue, Nov 27, 2018 at 09:36:03AM +0100, Heiko Carstens wrote: > Use pr_alert_once() instead of pr_alert() if page table misaccounting > has been detected. > > If this happens once it is very likely that there will be numerous > other occurrence as well, which would flood dmesg and the console

Re: [PATCH] mm: warn only once if page table misaccounting is detected

2018-11-27 Thread Heiko Carstens
On Tue, Nov 27, 2018 at 02:19:16PM +0100, Michal Hocko wrote: > On Tue 27-11-18 09:36:03, Heiko Carstens wrote: > > Use pr_alert_once() instead of pr_alert() if page table misaccounting > > has been detected. > > > > If this happens once it is very likely that there will be numerous > > other

Re: [PATCH] mm: warn only once if page table misaccounting is detected

2018-11-27 Thread Heiko Carstens
On Tue, Nov 27, 2018 at 02:19:16PM +0100, Michal Hocko wrote: > On Tue 27-11-18 09:36:03, Heiko Carstens wrote: > > Use pr_alert_once() instead of pr_alert() if page table misaccounting > > has been detected. > > > > If this happens once it is very likely that there will be numerous > > other

Re: [PATCH] mm: warn only once if page table misaccounting is detected

2018-11-27 Thread Michal Hocko
On Tue 27-11-18 09:36:03, Heiko Carstens wrote: > Use pr_alert_once() instead of pr_alert() if page table misaccounting > has been detected. > > If this happens once it is very likely that there will be numerous > other occurrence as well, which would flood dmesg and the console with > hardly any

Re: [PATCH] mm: warn only once if page table misaccounting is detected

2018-11-27 Thread Michal Hocko
On Tue 27-11-18 09:36:03, Heiko Carstens wrote: > Use pr_alert_once() instead of pr_alert() if page table misaccounting > has been detected. > > If this happens once it is very likely that there will be numerous > other occurrence as well, which would flood dmesg and the console with > hardly any

Re: [PATCH] mm: warn only once if page table misaccounting is detected

2018-11-27 Thread Kirill A. Shutemov
On Tue, Nov 27, 2018 at 09:36:03AM +0100, Heiko Carstens wrote: > Use pr_alert_once() instead of pr_alert() if page table misaccounting > has been detected. > > If this happens once it is very likely that there will be numerous > other occurrence as well, which would flood dmesg and the console

Re: [PATCH] mm: warn only once if page table misaccounting is detected

2018-11-27 Thread Kirill A. Shutemov
On Tue, Nov 27, 2018 at 09:36:03AM +0100, Heiko Carstens wrote: > Use pr_alert_once() instead of pr_alert() if page table misaccounting > has been detected. > > If this happens once it is very likely that there will be numerous > other occurrence as well, which would flood dmesg and the console

[PATCH] mm: warn only once if page table misaccounting is detected

2018-11-27 Thread Heiko Carstens
Use pr_alert_once() instead of pr_alert() if page table misaccounting has been detected. If this happens once it is very likely that there will be numerous other occurrence as well, which would flood dmesg and the console with hardly any added information. Therefore print the warning only once.

[PATCH] mm: warn only once if page table misaccounting is detected

2018-11-27 Thread Heiko Carstens
Use pr_alert_once() instead of pr_alert() if page table misaccounting has been detected. If this happens once it is very likely that there will be numerous other occurrence as well, which would flood dmesg and the console with hardly any added information. Therefore print the warning only once.