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, 03 Jan 2013 00:50:03 -0500 From: Rik van Riel <riel@...hat.com> To: Michel Lespinasse <walken@...gle.com> CC: Andy Lutomirski <luto@...capital.net>, Ingo Molnar <mingo@...nel.org>, Al Viro <viro@...iv.linux.org.uk>, Hugh Dickins <hughd@...gle.com>, Jorn_Engel <joern@...fs.org>, Andrew Morton <akpm@...ux-foundation.org>, linux-mm@...ck.org, linux-kernel@...r.kernel.org Subject: Re: [PATCH 8/9] mm: directly use __mlock_vma_pages_range() in find_extend_vma() On 12/20/2012 07:49 PM, Michel Lespinasse wrote: > In find_extend_vma(), we don't need mlock_vma_pages_range() to verify the > vma type - we know we're working with a stack. So, we can call directly > into __mlock_vma_pages_range(), and remove the last make_pages_present() > call site. > > Note that we don't use mm_populate() here, so we can't release the mmap_sem > while allocating new stack pages. This is deemed acceptable, because the > stack vmas grow by a bounded number of pages at a time, and these are > anon pages so we don't have to read from disk to populate them. > > Signed-off-by: Michel Lespinasse <walken@...gle.com> Acked-by: Rik van Riel <riel@...hat.com> -- All rights reversed -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists