From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757652AbcDGVOX (ORCPT ); Thu, 7 Apr 2016 17:14:23 -0400 Received: from mx1.redhat.com ([209.132.183.28]:59359 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757610AbcDGVOV (ORCPT ); Thu, 7 Apr 2016 17:14:21 -0400 Date: Thu, 7 Apr 2016 23:14:13 +0200 From: Jesper Dangaard Brouer To: Kees Cook Cc: brouer@redhat.com, Thomas Garnier , Christoph Lameter , Pekka Enberg , David Rientjes , Joonsoo Kim , Andrew Morton , Greg Thelen , "kernel-hardening@lists.openwall.com" , LKML , Linux-MM , Laura Abbott Subject: Re: [RFC v1] mm: SLAB freelist randomization Message-ID: <20160407231413.53e371ff@redhat.com> In-Reply-To: References: <1459971348-81477-1-git-send-email-thgarnie@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Thu, 07 Apr 2016 21:14:20 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 6 Apr 2016 14:45:30 -0700 Kees Cook wrote: > On Wed, Apr 6, 2016 at 12:35 PM, Thomas Garnier wrote: [...] > > re-used on slab creation for performance. > > I'd like to see some benchmark results for this so the Kconfig can > include the performance characteristics. I recommend using hackbench > and kernel build times with a before/after comparison. > It looks like it only happens on init, right? (Thus must bench tools might not be the right choice). My slab tools for benchmarking the fastpath is here: https://github.com/netoptimizer/prototype-kernel/blob/master/kernel/mm/slab_bulk_test01.c And I also carry a version of Christoph's slab bench tool: https://github.com/netoptimizer/prototype-kernel/blob/master/kernel/mm/slab_test.c -- Best regards, Jesper Dangaard Brouer MSc.CS, Principal Kernel Engineer at Red Hat Author of http://www.iptv-analyzer.org LinkedIn: http://www.linkedin.com/in/brouer