1. 10 5月, 2007 38 次提交
  2. 09 5月, 2007 2 次提交
    • H
      Documentation/i386/boot.txt: update and correct · de372ecd
      H. Peter Anvin 提交于
      In the process of rewriting the x86 setup code, I found a number of
      inaccuracies and outdated recommendations in the boot protocol
      documentation.  Revamp to make it more up to date.
      
      In particular, the common use of the heap actually requires (slightly)
      more than 4K of heap plus stack, which is the recommended amount in
      the document; currently the code compensates by being smaller than
      specified, but we can't assume that will be true forever.  Thus,
      recommend that if we have a modern bzImage kernel, that the bootloader
      maximizes the available space.
      Signed-off-by: NH. Peter Anvin <hpa@zytor.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      de372ecd
    • A
      revert 'sched: redundant reschedule when set_user_nice() boosts a prio of a... · d5f9f942
      Andrew Morton 提交于
      revert 'sched: redundant reschedule when set_user_nice() boosts a prio of a task from the "expired" array'
      
      Revert commit bd53f96c.
      
      Con says:
      
      This is no good, sorry. The one I saw originally was with the staircase
      deadline cpu scheduler in situ and was different.
      
        #define TASK_PREEMPTS_CURR(p, rq) \
           ((p)->prio < (rq)->curr->prio)
           (((p)->prio < (rq)->curr->prio) && ((p)->array == (rq)->active))
      
      This will fail to wake up a runqueue for a task that has been migrated to the
      expired array of a runqueue which is otherwise idle which can happen with smp
      balancing,
      
      Cc: Dmitry Adamushko <dmitry.adamushko@gmail.com>
      Cc: Con Kolivas <kernel@kolivas.org>
      Cc: Ingo Molnar <mingo@elte.hu>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      d5f9f942