An error occurred fetching the project authors.
  1. 10 Oct, 2009 6 commits
  2. 09 Oct, 2009 2 commits
    • Matt Fleming's avatar
      sh: Don't allocate smaller sized mappings on every iteration · a2767cfb
      Matt Fleming authored
      Currently, we've got the less than ideal situation where if we need to
      allocate a 256MB mapping we'll allocate four entries like so,
      
      	 entry 1: 128MB
      	 entry 2:  64MB
      	 entry 3:  16MB
      	 entry 4:  16MB
      
      This is because as we execute the loop in pmb_remap() we will
      progressively try mapping the remaining address space with smaller and
      smaller sizes. This isn't good because the size we use on one iteration
      may be the perfect size to use on the next iteration, for instance when
      the initial size is divisible by one of the PMB mapping sizes.
      
      With this patch, we now only need two entries in the PMB to map 256MB of
      address space,
      
      	  entry 1: 128MB
      	  entry 2: 128MB
      Signed-off-by: default avatarMatt Fleming <matt@console-pimps.org>
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      a2767cfb
    • Matt Fleming's avatar
      sh: Plug PMB alloc memory leak · fc2bdefd
      Matt Fleming authored
      If we fail to allocate a PMB entry in pmb_remap() we must remember to
      clear and free any PMB entries that we may have previously allocated,
      e.g. if we were allocating a multiple entry mapping.
      Signed-off-by: default avatarMatt Fleming <matt@console-pimps.org>
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      fc2bdefd
  3. 16 Mar, 2009 1 commit
  4. 20 Oct, 2008 1 commit
  5. 28 Jul, 2008 1 commit
  6. 26 Jul, 2008 1 commit
  7. 18 Apr, 2008 1 commit
  8. 28 Jan, 2008 3 commits
  9. 17 Oct, 2007 1 commit
  10. 21 Sep, 2007 1 commit
  11. 20 Jul, 2007 1 commit
    • Paul Mundt's avatar
      mm: Remove slab destructors from kmem_cache_create(). · 20c2df83
      Paul Mundt authored
      Slab destructors were no longer supported after Christoph's
      c59def9f change. They've been
      BUGs for both slab and slub, and slob never supported them
      either.
      
      This rips out support for the dtor pointer from kmem_cache_create()
      completely and fixes up every single callsite in the kernel (there were
      about 224, not including the slab allocator definitions themselves,
      or the documentation references).
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      20c2df83
  12. 14 May, 2007 1 commit
    • Paul Mundt's avatar
      sh: Kill off pmb slab cache destructor. · 38c425f6
      Paul Mundt authored
      This is the last remaining slab destructor in the kernel, which
      we kill off and move the resultant list tracking logic up to
      the pmb_alloc()/pmb_free() paths.
      
      As Christoph Lameter pointed out, it's potentially unsafe to be
      taking the list lock in the destructor anyways, so this is also
      more fundamentally correct.
      
      With this in place, we're all set for killing off slab destructors
      from the kernel entirely.
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      38c425f6
  13. 08 May, 2007 1 commit
  14. 12 Feb, 2007 1 commit
  15. 07 Dec, 2006 1 commit
  16. 27 Sep, 2006 3 commits