lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Thu, 14 Jan 2021 10:50:51 +0800 From: Muchun Song <songmuchun@...edance.com> To: Mike Kravetz <mike.kravetz@...cle.com> Cc: Jonathan Corbet <corbet@....net>, Thomas Gleixner <tglx@...utronix.de>, mingo@...hat.com, bp@...en8.de, x86@...nel.org, hpa@...or.com, dave.hansen@...ux.intel.com, luto@...nel.org, Peter Zijlstra <peterz@...radead.org>, viro@...iv.linux.org.uk, Andrew Morton <akpm@...ux-foundation.org>, paulmck@...nel.org, mchehab+huawei@...nel.org, pawan.kumar.gupta@...ux.intel.com, Randy Dunlap <rdunlap@...radead.org>, oneukum@...e.com, anshuman.khandual@....com, jroedel@...e.de, Mina Almasry <almasrymina@...gle.com>, David Rientjes <rientjes@...gle.com>, Matthew Wilcox <willy@...radead.org>, Oscar Salvador <osalvador@...e.de>, Michal Hocko <mhocko@...e.com>, "Song Bao Hua (Barry Song)" <song.bao.hua@...ilicon.com>, David Hildenbrand <david@...hat.com>, HORIGUCHI NAOYA(堀口 直也) <naoya.horiguchi@....com>, Xiongchun duan <duanxiongchun@...edance.com>, linux-doc@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>, Linux Memory Management List <linux-mm@...ck.org>, linux-fsdevel <linux-fsdevel@...r.kernel.org> Subject: Re: [External] Re: [PATCH v12 03/13] mm: Introduce VM_WARN_ON_PAGE macro On Thu, Jan 14, 2021 at 6:31 AM Mike Kravetz <mike.kravetz@...cle.com> wrote: > > On 1/6/21 6:19 AM, Muchun Song wrote: > > Very similar to VM_WARN_ON_ONCE_PAGE and VM_BUG_ON_PAGE, add > > VM_WARN_ON_PAGE macro. > > > > Signed-off-by: Muchun Song <songmuchun@...edance.com> > > --- > > include/linux/mmdebug.h | 8 ++++++++ > > 1 file changed, 8 insertions(+) > > I was going to question the use/need for this macro in the following > patch. Looks like Oscar has already done that, and free_bootmem_page > will now use VM_BUG_ON_PAGE. So, this patch can be dropped. In the previous version, Oscar suggested I use WARN_ON instead of BUG_ON. But he realised we actually should use BUG_ON in this version. So I will drop this in the next version. Thanks. > > -- > Mike Kravetz
Powered by blists - more mailing lists