From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vk0-f72.google.com (mail-vk0-f72.google.com [209.85.213.72]) by kanga.kvack.org (Postfix) with ESMTP id 656126B007E for ; Wed, 18 May 2016 14:35:00 -0400 (EDT) Received: by mail-vk0-f72.google.com with SMTP id c67so120588462vkh.3 for ; Wed, 18 May 2016 11:35:00 -0700 (PDT) Received: from mail-yw0-x22b.google.com (mail-yw0-x22b.google.com. [2607:f8b0:4002:c05::22b]) by mx.google.com with ESMTPS id d126si3792435ywe.74.2016.05.18.11.34.59 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 May 2016 11:34:59 -0700 (PDT) Received: by mail-yw0-x22b.google.com with SMTP id x194so57072066ywd.0 for ; Wed, 18 May 2016 11:34:59 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <1463594175-111929-1-git-send-email-thgarnie@google.com> <1463594175-111929-3-git-send-email-thgarnie@google.com> From: Thomas Garnier Date: Wed, 18 May 2016 11:34:58 -0700 Message-ID: Subject: Re: [RFC v1 2/2] mm: SLUB Freelist randomization Content-Type: text/plain; charset=UTF-8 Sender: owner-linux-mm@kvack.org List-ID: To: Christoph Lameter Cc: Pekka Enberg , David Rientjes , Joonsoo Kim , Andrew Morton , "Paul E . McKenney" , Pranith Kumar , David Howells , Tejun Heo , Johannes Weiner , David Woodhouse , Petr Mladek , Kees Cook , Linux-MM , LKML , Greg Thelen , kernel-hardening@lists.openwall.com Yes, I agree that it is not related to the changes. On Wed, May 18, 2016 at 11:24 AM, Christoph Lameter wrote: > 0.On Wed, 18 May 2016, Thomas Garnier wrote: > >> slab_test, before: >> 10000 times kmalloc(8) -> 67 cycles kfree -> 101 cycles >> 10000 times kmalloc(16) -> 68 cycles kfree -> 109 cycles >> 10000 times kmalloc(32) -> 76 cycles kfree -> 119 cycles >> 10000 times kmalloc(64) -> 88 cycles kfree -> 114 cycles > >> After: >> 10000 times kmalloc(8) -> 60 cycles kfree -> 74 cycles >> 10000 times kmalloc(16) -> 63 cycles kfree -> 78 cycles >> 10000 times kmalloc(32) -> 72 cycles kfree -> 85 cycles >> 10000 times kmalloc(64) -> 91 cycles kfree -> 99 cycles > > Erm... The fastpath was not touched and the tests primarily exercise the > fastpath. This is likely some artifact of code placement by the compiler? > -- 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