1. 18 6月, 2008 1 次提交
  2. 17 6月, 2008 1 次提交
  3. 13 6月, 2008 7 次提交
  4. 12 6月, 2008 8 次提交
  5. 11 6月, 2008 5 次提交
  6. 10 6月, 2008 6 次提交
    • J
      x86: set PAE PHYSICAL_MASK_SHIFT to 44 bits. · ce8e37cd
      Jeremy Fitzhardinge 提交于
      When a 64-bit x86 processor runs in 32-bit PAE mode, a pte can
      potentially have the same number of physical address bits as the
      64-bit host ("Enhanced Legacy PAE Paging").  This means, in theory,
      we could have up to 52 bits of physical address in a pte.
      
      The 32-bit kernel uses a 32-bit unsigned long to represent a pfn.
      This means that it can only represent physical addresses up to 32+12=44
      bits wide.  Rather than widening pfns everywhere, just set 2^44 as the
      Linux x86_32-PAE architectural limit for physical address size.
      Signed-off-by: NJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
      Cc: Jan Beulich <jbeulich@novell.com>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      ce8e37cd
    • O
      sched: fix TASK_WAKEKILL vs SIGKILL race · 16882c1e
      Oleg Nesterov 提交于
      schedule() has the special "TASK_INTERRUPTIBLE && signal_pending()" case,
      this allows us to do
      
      	current->state = TASK_INTERRUPTIBLE;
      	schedule();
      
      without fear to sleep with pending signal.
      
      However, the code like
      
      	current->state = TASK_KILLABLE;
      	schedule();
      
      is not right, schedule() doesn't take TASK_WAKEKILL into account. This means
      that mutex_lock_killable(), wait_for_completion_killable(), down_killable(),
      schedule_timeout_killable() can miss SIGKILL (and btw the second SIGKILL has
      no effect).
      
      Introduce the new helper, signal_pending_state(), and change schedule() to
      use it. Hopefully it will have more users, that is why the task's state is
      passed separately.
      
      Note this "__TASK_STOPPED | __TASK_TRACED" check in signal_pending_state().
      This is needed to preserve the current behaviour (ptrace_notify). I hope
      this check will be removed soon, but this (afaics good) change needs the
      separate discussion.
      
      The fast path is "(state & (INTERRUPTIBLE | WAKEKILL)) + signal_pending(p)",
      basically the same that schedule() does now. However, this patch of course
      bloats schedule().
      Signed-off-by: NOleg Nesterov <oleg@tv-sign.ru>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      16882c1e
    • M
      [S390] Fix __ctl_load/__ctl_store inline assembly constraints · b57838ea
      Martin Schwidefsky 提交于
      __ctl_load/__ctl_store are called with either an array of unsigned long or
      a single unsigned long value. Add an address operator to the "m"/"=m"
      contraints to make them work for unsigned long arguments as well.
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      b57838ea
    • A
      include/linux/ssb/ssb_driver_gige.h typo fix · 585c5434
      Adrian Bunk 提交于
      This patch fixes a typo in the name of a config variable.
      Reported-by: NRobert P. J. Day <rpjday@crashcourse.ca>
      Signed-off-by: NAdrian Bunk <bunk@kernel.org>
      Reviewed-by: NMichael Buesch <mb@bu3sch.de>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      585c5434
    • R
      mm: Minor clean-up of page flags in mm/page_alloc.c · dfa7e20c
      Russ Anderson 提交于
      Minor source code cleanup of page flags in mm/page_alloc.c.
      Move the definition of the groups of bits to page-flags.h.
      
      The purpose of this clean up is that the next patch will
      conditionally add a page flag to the groups.  Doing that
      in a header file is cleaner than adding #ifdefs to the
      C code.
      Signed-off-by: NRuss Anderson <rja@sgi.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      dfa7e20c
    • R
      IB/core: Remove IB_DEVICE_SEND_W_INV capability flag · 4c0283fc
      Roland Dreier 提交于
      In 2.6.26, we added some support for send with invalidate work
      requests, including a device capability flag to indicate whether a
      device supports such requests.  However, the support was incomplete:
      the completion structure was not extended with a field for the key
      contained in incoming send with invalidate requests.
      
      Full support for memory management extensions (send with invalidate,
      local invalidate, fast register through a send queue, etc) is planned
      for 2.6.27.  Since send with invalidate is not very useful by itself,
      just remove the IB_DEVICE_SEND_W_INV bit before the 2.6.26 final
      release; we will add an IB_DEVICE_MEM_MGT_EXTENSIONS bit in 2.6.27,
      which makes things simpler for applications, since they will not have
      quite as confusing an array of fine-grained bits to check.
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      4c0283fc
  7. 09 6月, 2008 2 次提交
  8. 07 6月, 2008 10 次提交