1. 2012年 4月 21日 4 次提交
    • Austin Clements's avatar
      Redesign percpu<> const-ness and general percpu cleanup · 2743888d
      Austin Clements 提交于
      percpu acts like a T* const, so a const percpu should (also) be like a
      T* const, *not* like a const T*, which is what the code previously did
      (remember, C types are inside-out!  except when they aren't).  This,
      for example, makes it sane to pass a const percpu reference.
      
      This also makes percpu non-copyable and non-assignable and makes stuff
      private.
      2743888d
    • Austin Clements's avatar
      Fix the same bug when getting a slab's name in ksalloc · 23af7cf9
      Austin Clements 提交于
      Previously, we always used the name of CPU 0's kmem for a slab (owing
      to the same type of pointer decay problem fixed by the last commit).
      This is why all mtrace labels are called things like "0kstack" instead
      of having the right CPU number.
      23af7cf9
    • Austin Clements's avatar
      Free to our CPU's slab, not to CPU 0's slab · bc0ff894
      Austin Clements 提交于
      Previously, ksfree passed the whole CPU array for a slab to
      kfree_pool, which expected a pointer to the specific kmem to free to.
      Since the array decayed to a pointer, this compiled and worked, but
      would always free to CPU 0's slab.
      bc0ff894
    • Austin Clements's avatar
      Remove unused field from zallocator · 8ff159ab
      Austin Clements 提交于
      8ff159ab
  2. 2012年 4月 20日 11 次提交
  3. 2012年 4月 19日 17 次提交
  4. 2012年 4月 18日 1 次提交
  5. 2012年 4月 15日 2 次提交
  6. 2012年 4月 14日 2 次提交
  7. 2012年 4月 13日 3 次提交