1. 22 May, 2009 1 commit
    • Ron Lee's avatar
      slab: fix generic PAGE_POISONING conflict with SLAB_RED_ZONE · 67461365
      Ron Lee authored
      A generic page poisoning mechanism was added with commit:
       6a11f75b
      which destructively poisons full pages with a bitpattern.
      
      On arches where PAGE_POISONING is used, this conflicts with the slab
      redzone checking enabled by DEBUG_SLAB, scribbling bits all over its
      magic words and making it complain about that quite emphatically.
      
      On x86 (and I presume at present all the other arches which set
      ARCH_SUPPORTS_DEBUG_PAGEALLOC too), the kernel_map_pages() operation
      is non destructive so it can coexist with the other DEBUG_SLAB
      mechanisms just fine.
      
      This patch favours the expensive full page destruction test for
      cases where there is a collision and it is explicitly selected.
      Signed-off-by: default avatarRon Lee <ron@debian.org>
      Signed-off-by: default avatarPekka Enberg <penberg@cs.helsinki.fi>
      67461365
  2. 14 May, 2009 1 commit
  3. 13 May, 2009 15 commits
  4. 12 May, 2009 21 commits
  5. 11 May, 2009 2 commits