1. 21 Sep, 2008 9 commits
  2. 20 Sep, 2008 2 commits
    • Paul Mundt's avatar
      sh: Support kernel stacks smaller than a page. · c15c5f8c
      Paul Mundt authored
      This follows the powerpc commit f6a61680
      '[POWERPC] Fix kernel stack allocation alignment'.
      
      SH has traditionally forced the thread order to be relative to the page
      size, so there were never any situations where the same bug was
      triggered by slub. Regardless, the usage of > 8kB stacks for the larger
      page sizes is overkill, so we switch to using slab allocations there,
      as per the powerpc change.
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      c15c5f8c
    • Paul Mundt's avatar
      sh: Disable 4kB stacks when using PAGE_SIZE_64KB. · b817f7e0
      Paul Mundt authored
      This combination triggers a divide by zero in kernel/fork.c when
      calculating the initial max_threads value:
      
      	max_threads = mempages / (8 * THREAD_SIZE / PAGE_SIZE);
      
      Simply disable 4K stacks on 64kB PAGE_SIZE to work around this,
      as it's not a terribly useful combination to begin with.
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      b817f7e0
  3. 17 Sep, 2008 6 commits
  4. 12 Sep, 2008 15 commits
  5. 11 Sep, 2008 2 commits
  6. 10 Sep, 2008 1 commit
  7. 08 Sep, 2008 5 commits