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


Groups > linux.kernel > #1705595

Re: [RFC][PATCH] mm/slub.c: Allow poisoning to use the fast path

From Christopher Lameter <cl@linux.com>
Newsgroups linux.kernel
Subject Re: [RFC][PATCH] mm/slub.c: Allow poisoning to use the fast path
Date 2017-08-07 16:40 +0200
Message-ID <ubRmj-148-29@gated-at.bofh.it> (permalink)
References <uaU2S-560-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, 4 Aug 2017, Laura Abbott wrote:

> All slub debug features currently disable the fast path completely.
> Some features such as consistency checks require this to allow taking of
> locks. Poisoning and red zoning don't require this and can safely use
> the per-cpu fast path. Introduce a Kconfig to continue to use the fast
> path when 'fast' debugging options are enabled. The code will
> automatically revert to always using the slow path when 'slow' options
> are enabled.

Ok I see that the objects are initialized with poisoning and redzoning but
I do not see that there is fastpath code to actually check the values
before the object is reinitialized. Is that intentional or am
I missing something?

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


Thread

[RFC][PATCH] mm/slub.c: Allow poisoning to use the fast path Laura Abbott <labbott@redhat.com> - 2017-08-05 01:20 +0200
  Re: [RFC][PATCH] mm/slub.c: Allow poisoning to use the fast path Christopher Lameter <cl@linux.com> - 2017-08-07 16:40 +0200
    Re: [RFC][PATCH] mm/slub.c: Allow poisoning to use the fast path Laura Abbott <labbott@redhat.com> - 2017-08-07 19:50 +0200
      Re: [RFC][PATCH] mm/slub.c: Allow poisoning to use the fast path Christopher Lameter <cl@linux.com> - 2017-08-07 20:10 +0200
        Re: [RFC][PATCH] mm/slub.c: Allow poisoning to use the fast path Laura Abbott <labbott@redhat.com> - 2017-08-08 00:10 +0200
          Re: [RFC][PATCH] mm/slub.c: Allow poisoning to use the fast path Kees Cook <keescook@chromium.org> - 2017-08-08 00:30 +0200
            Re: [RFC][PATCH] mm/slub.c: Allow poisoning to use the fast path Christopher Lameter <cl@linux.com> - 2017-08-08 17:10 +0200
              Re: [RFC][PATCH] mm/slub.c: Allow poisoning to use the fast path Kees Cook <keescook@chromium.org> - 2017-08-08 21:10 +0200

csiph-web