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
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210721130551.bbdeae56ca3ec2d0f28b0bac@linux-foundation.org>
Date:   Wed, 21 Jul 2021 13:05:51 -0700
From:   Andrew Morton <akpm@...ux-foundation.org>
To:     Dmitry Safonov <0x7f454c46@...il.com>
Cc:     Dmitry Safonov <dima@...sta.com>, linux-kernel@...r.kernel.org,
        Alexander Viro <viro@...iv.linux.org.uk>,
        Andy Lutomirski <luto@...nel.org>,
        Brian Geffon <bgeffon@...gle.com>,
        Catalin Marinas <catalin.marinas@....com>,
        Chen Wandun <chenwandun@...wei.com>,
        Dan Carpenter <dan.carpenter@...cle.com>,
        Dan Williams <dan.j.williams@...el.com>,
        Dave Jiang <dave.jiang@...el.com>,
        Hugh Dickins <hughd@...gle.com>,
        Ingo Molnar <mingo@...hat.com>, Jason Gunthorpe <jgg@...pe.ca>,
        John Hubbard <jhubbard@...dia.com>,
        Kefeng Wang <wangkefeng.wang@...wei.com>,
        "Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>,
        Mike Kravetz <mike.kravetz@...cle.com>,
        Minchan Kim <minchan@...nel.org>,
        Ralph Campbell <rcampbell@...dia.com>,
        Russell King <linux@...linux.org.uk>,
        Thomas Bogendoerfer <tsbogend@...ha.franken.de>,
        Thomas Gleixner <tglx@...utronix.de>,
        Vishal Verma <vishal.l.verma@...el.com>,
        Vlastimil Babka <vbabka@...e.cz>,
        Wei Yongjun <weiyongjun1@...wei.com>,
        Will Deacon <will@...nel.org>
Subject: Re: [PATCH v2] mm/mremap: Don't account pages in vma_to_resize()

On Wed, 21 Jul 2021 14:21:54 +0100 Dmitry Safonov <0x7f454c46@...il.com> wrote:

> > Let's not do this.
> > Account memory in mremap() fast-path for growing VMAs or in move_vma()
> > for actually moving things. The same simpler way as it's done by
> > vm_stat_account(), but with a difference to call
> > security_vm_enough_memory_mm() before copying/adjusting VMA.
> > 
> > Originally noticed by Chen Wandun:
> > https://lkml.kernel.org/r/20210717101942.120607-1-chenwandun@huawei.com
> 
> The patch by Chen Wandun still makes sense with this v2.
> Heh :-)

Should
https://lkml.kernel.org/r/20210717101942.120607-1-chenwandun@huawei.com
still be applied then?  Did you ack it?

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ