[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20181127081350.GC3625@osiris>
Date: Tue, 27 Nov 2018 09:13:50 +0100
From: Heiko Carstens <heiko.carstens@...ibm.com>
To: "Kirill A. Shutemov" <kirill@...temov.name>
Cc: "Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>,
Li Wang <liwang@...hat.com>,
Guenter Roeck <linux@...ck-us.net>,
Janosch Frank <frankja@...ux.vnet.ibm.com>,
linux-kernel <linux-kernel@...r.kernel.org>,
Linux-MM <linux-mm@...ck.org>,
Martin Schwidefsky <schwidefsky@...ibm.com>
Subject: Re: [PATCH 3/3] s390/mm: fix mis-accounting of pgtable_bytes
On Tue, Nov 27, 2018 at 11:05:15AM +0300, Kirill A. Shutemov wrote:
> > E.g. something like the below. If there aren't any objections, I will
> > provide a proper patch with changelog, etc.
> >
> > diff --git a/kernel/fork.c b/kernel/fork.c
> > index 07cddff89c7b..d7aeec03c57f 100644
> > --- a/kernel/fork.c
> > +++ b/kernel/fork.c
> > @@ -647,8 +647,8 @@ static void check_mm(struct mm_struct *mm)
> > }
> >
> > if (mm_pgtables_bytes(mm))
> > - pr_alert("BUG: non-zero pgtables_bytes on freeing mm: %ld\n",
> > - mm_pgtables_bytes(mm));
> > + printk_once(KERN_ALERT "BUG: non-zero pgtables_bytes on freeing mm: %ld\n",
> > + mm_pgtables_bytes(mm));
>
> You can be the first user of pr_alert_once(). Don't miss a chance! ;)
I didn't expect that that one exists. ;) Will do.
Powered by blists - more mailing lists