From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi0-f69.google.com (mail-oi0-f69.google.com [209.85.218.69]) by kanga.kvack.org (Postfix) with ESMTP id D67196B0005 for ; Fri, 8 Jul 2016 12:19:05 -0400 (EDT) Received: by mail-oi0-f69.google.com with SMTP id q62so47549984oih.0 for ; Fri, 08 Jul 2016 09:19:05 -0700 (PDT) Received: from mail-oi0-x244.google.com (mail-oi0-x244.google.com. [2607:f8b0:4003:c06::244]) by mx.google.com with ESMTPS id b22si986601oii.52.2016.07.08.09.19.05 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 Jul 2016 09:19:05 -0700 (PDT) Received: by mail-oi0-x244.google.com with SMTP id e84so7792824oib.2 for ; Fri, 08 Jul 2016 09:19:05 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20160708084639.GA4562@gmail.com> References: <1467843928-29351-1-git-send-email-keescook@chromium.org> <20160708084639.GA4562@gmail.com> From: Linus Torvalds Date: Fri, 8 Jul 2016 09:19:04 -0700 Message-ID: Subject: Re: [PATCH 0/9] mm: Hardened usercopy Content-Type: text/plain; charset=UTF-8 Sender: owner-linux-mm@kvack.org List-ID: To: Ingo Molnar Cc: Kees Cook , Linux Kernel Mailing List , Rik van Riel , Casey Schaufler , PaX Team , Brad Spengler , Russell King , Catalin Marinas , Will Deacon , Ard Biesheuvel , Benjamin Herrenschmidt , Michael Ellerman , Tony Luck , Fenghua Yu , "David S. Miller" , the arch/x86 maintainers , Christoph Lameter , Pekka Enberg , David Rientjes , Joonsoo Kim , Andrew Morton , Andy Lutomirski , Borislav Petkov , Mathias Krause , Jan Kara , Vitaly Wool , Andrea Arcangeli , Dmitry Vyukov , Laura Abbott , "linux-arm-kernel@lists.infradead.org" , "linux-ia64@vger.kernel.org" , ppc-dev , sparclinux@vger.kernel.org, "linux-arch@vger.kernel.org" , linux-mm , "kernel-hardening@lists.openwall.com" , Thomas Gleixner , "H. Peter Anvin" , Peter Zijlstra On Fri, Jul 8, 2016 at 1:46 AM, Ingo Molnar wrote: > > Could you please try to find some syscall workload that does many small user > copies and thus excercises this code path aggressively? Any stat()-heavy path will hit cp_new_stat() very heavily. Think the usual kind of "traverse the whole tree looking for something". "git diff" will do it, just checking that everything is up-to-date. That said, other things tend to dominate. Linus -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org