Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1373779

Re: [RFC v1] mm: SLAB freelist randomization

From Jesper Dangaard Brouer <brouer@redhat.com>
Newsgroups linux.kernel
Subject Re: [RFC v1] mm: SLAB freelist randomization
Date 2016-04-07 23:20 +0200
Message-ID <rlpvk-1uc-7@gated-at.bofh.it> (permalink)
References <rl1t0-n7-21@gated-at.bofh.it> <rl3uN-1KQ-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, 6 Apr 2016 14:45:30 -0700 Kees Cook <keescook@chromium.org> wrote:

> On Wed, Apr 6, 2016 at 12:35 PM, Thomas Garnier <thgarnie@google.com> 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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[RFC v1] mm: SLAB freelist randomization Thomas Garnier <thgarnie@google.com> - 2016-04-06 21:40 +0200
  Re: [kernel-hardening] [RFC v1] mm: SLAB freelist randomization Greg KH <gregkh@linuxfoundation.org> - 2016-04-06 23:00 +0200
    Re: [kernel-hardening] [RFC v1] mm: SLAB freelist randomization Thomas Garnier <thgarnie@google.com> - 2016-04-06 23:10 +0200
  Re: [RFC v1] mm: SLAB freelist randomization Kees Cook <keescook@chromium.org> - 2016-04-06 23:50 +0200
    Re: [RFC v1] mm: SLAB freelist randomization Thomas Garnier <thgarnie@google.com> - 2016-04-07 17:30 +0200
    Re: [kernel-hardening] Re: [RFC v1] mm: SLAB freelist randomization Yves-Alexis Perez <corsac@debian.org> - 2016-04-07 18:20 +0200
      Re: [kernel-hardening] Re: [RFC v1] mm: SLAB freelist randomization Thomas Garnier <thgarnie@google.com> - 2016-04-07 18:40 +0200
    Re: [RFC v1] mm: SLAB freelist randomization Jesper Dangaard Brouer <brouer@redhat.com> - 2016-04-07 23:20 +0200
      Re: [RFC v1] mm: SLAB freelist randomization Kees Cook <keescook@chromium.org> - 2016-04-08 04:40 +0200

csiph-web