1. 31 3月, 2011 1 次提交
  2. 30 3月, 2011 1 次提交
  3. 29 3月, 2011 3 次提交
  4. 25 3月, 2011 1 次提交
  5. 24 3月, 2011 5 次提交
  6. 23 3月, 2011 1 次提交
  7. 18 3月, 2011 1 次提交
  8. 16 3月, 2011 1 次提交
  9. 14 3月, 2011 1 次提交
    • A
      clean statfs-like syscalls up · c8b91acc
      Al Viro 提交于
      New helpers: user_statfs() and fd_statfs(), taking userland pathname and
      descriptor resp. and filling struct kstatfs.  Syscalls of statfs family
      (native, compat and foreign - osf and hpux on alpha and parisc resp.)
      switched to those.  Removes some boilerplate code, simplifies cleanup
      on errors...
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      c8b91acc
  10. 11 3月, 2011 2 次提交
    • M
      futex: Sanitize futex ops argument types · 8d7718aa
      Michel Lespinasse 提交于
      Change futex_atomic_op_inuser and futex_atomic_cmpxchg_inatomic
      prototypes to use u32 types for the futex as this is the data type the
      futex core code uses all over the place.
      Signed-off-by: NMichel Lespinasse <walken@google.com>
      Cc: Darren Hart <darren@dvhart.com>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Matt Turner <mattst88@gmail.com>
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: David Howells <dhowells@redhat.com>
      Cc: Tony Luck <tony.luck@intel.com>
      Cc: Michal Simek <monstr@monstr.eu>
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Cc: "James E.J. Bottomley" <jejb@parisc-linux.org>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
      Cc: Paul Mundt <lethal@linux-sh.org>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Chris Metcalf <cmetcalf@tilera.com>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      LKML-Reference: <20110311025058.GD26122@google.com>
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      8d7718aa
    • M
      futex: Sanitize cmpxchg_futex_value_locked API · 37a9d912
      Michel Lespinasse 提交于
      The cmpxchg_futex_value_locked API was funny in that it returned either
      the original, user-exposed futex value OR an error code such as -EFAULT.
      This was confusing at best, and could be a source of livelocks in places
      that retry the cmpxchg_futex_value_locked after trying to fix the issue
      by running fault_in_user_writeable().
          
      This change makes the cmpxchg_futex_value_locked API more similar to the
      get_futex_value_locked one, returning an error code and updating the
      original value through a reference argument.
      Signed-off-by: NMichel Lespinasse <walken@google.com>
      Acked-by: Chris Metcalf <cmetcalf@tilera.com>  [tile]
      Acked-by: Tony Luck <tony.luck@intel.com>  [ia64]
      Acked-by: NThomas Gleixner <tglx@linutronix.de>
      Tested-by: Michal Simek <monstr@monstr.eu>  [microblaze]
      Acked-by: David Howells <dhowells@redhat.com> [frv]
      Cc: Darren Hart <darren@dvhart.com>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Matt Turner <mattst88@gmail.com>
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Cc: "James E.J. Bottomley" <jejb@parisc-linux.org>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
      Cc: Paul Mundt <lethal@linux-sh.org>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      LKML-Reference: <20110311024851.GC26122@google.com>
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      37a9d912
  11. 18 2月, 2011 1 次提交
  12. 11 2月, 2011 1 次提交
  13. 10 2月, 2011 2 次提交
  14. 31 1月, 2011 1 次提交
  15. 26 1月, 2011 1 次提交
    • T
      console: rename acquire/release_console_sem() to console_lock/unlock() · ac751efa
      Torben Hohn 提交于
      The -rt patches change the console_semaphore to console_mutex.  As a
      result, a quite large chunk of the patches changes all
      acquire/release_console_sem() to acquire/release_console_mutex()
      
      This commit makes things use more neutral function names which dont make
      implications about the underlying lock.
      
      The only real change is the return value of console_trylock which is
      inverted from try_acquire_console_sem()
      
      This patch also paves the way to switching console_sem from a semaphore to
      a mutex.
      
      [akpm@linux-foundation.org: coding-style fixes]
      [akpm@linux-foundation.org: make console_trylock return 1 on success, per Geert]
      Signed-off-by: NTorben Hohn <torbenh@gmx.de>
      Cc: Thomas Gleixner <tglx@tglx.de>
      Cc: Greg KH <gregkh@suse.de>
      Cc: Ingo Molnar <mingo@elte.hu>
      Cc: Geert Uytterhoeven <geert@linux-m68k.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      ac751efa
  16. 25 1月, 2011 1 次提交
    • T
      percpu: align percpu readmostly subsection to cacheline · 19df0c2f
      Tejun Heo 提交于
      Currently percpu readmostly subsection may share cachelines with other
      percpu subsections which may result in unnecessary cacheline bounce
      and performance degradation.
      
      This patch adds @cacheline parameter to PERCPU() and PERCPU_VADDR()
      linker macros, makes each arch linker scripts specify its cacheline
      size and use it to align percpu subsections.
      
      This is based on Shaohua's x86 only patch.
      Signed-off-by: NTejun Heo <tj@kernel.org>
      Cc: Shaohua Li <shaohua.li@intel.com>
      19df0c2f
  17. 21 1月, 2011 3 次提交
  18. 17 1月, 2011 1 次提交
  19. 15 1月, 2011 4 次提交
    • J
      eliminate special FLUSH flag from page table · 8b4ae334
      James Bottomley 提交于
      This was used to flush a region even if the page table entry had been
      cleared.  In theory this was never necessary, but now we've switched to
      alias based flushing, the whole set of code associated with it can be dumped.
      Signed-off-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@suse.de>
      8b4ae334
    • J
      parisc: flush pages through tmpalias space · f311847c
      James Bottomley 提交于
      The kernel has an 8M tmpailas space (originally designed for copying
      and clearing pages but now only used for clearing).  The idea is
      to place zeros into the cache above a physical page rather than into
      the physical page and flush the cache, because often the zeros end up
      being replaced quickly anyway.
      
      We can also use the tmpalias space for flushing a page.  The difference
      here is that we have to do tmpalias processing in the non access data and
      instruction traps.  The principle is the same: as long as we know the physical
      address and have a virtual address congruent to the real one, the flush will
      be effective.
      
      In order to use the tmpalias space, the icache miss path has to be enhanced to
      check for the alias region to make the fic instruction effective.
      Signed-off-by: NJames Bottomley <James.Bottomley@suse.de>
      f311847c
    • J
      parisc: fix compile breakage caused by inlining maybe_mkwrite · 84cd8453
      James Bottomley 提交于
      on Parisc, we have an include of linux/mm.h inside our asm/pgtable.h, so
      this patch
      
      commit 14fd403f
      Author: Andrea Arcangeli <aarcange@redhat.com>
      Date:   Thu Jan 13 15:46:37 2011 -0800
      
          thp: export maybe_mkwrite
      
      Causes us an unsatisfiable use of pte_mkwrite in linux/mm.h
      
      The fix is obviously not to include linux/mm.h in our pgtable.h, which
      unbreaks the build.
      Signed-off-by: NJames Bottomley <James.Bottomley@suse.de>
      84cd8453
    • G
      parisc : Remove broken line wrapping handling pdc_iodc_print() · fbea6684
      Guy Martin 提交于
      Remove the broken line wrapping handling in pdc_iodc_print().
      It is broken in 3 ways :
        - It doesn't keep track of the current screen position, it just
          assumes that the new buffer will be printed at the begining of the
          screen.
        - It doesn't take in account that non printable characters won't
          increase the current position on the screen.
        - And last but not least, it triggers a kernel panic if a backspace
          is the first char in the provided buffer :
      
       Backtrace:
        [<0000000040128ec4>] pdc_console_write+0x44/0x78
        [<0000000040128f18>] pdc_console_tty_write+0x20/0x38
        [<000000004032f1ac>] n_tty_write+0x2a4/0x550
        [<000000004032b158>] tty_write+0x1e0/0x2d8
        [<00000000401bb420>] vfs_write+0xb8/0x188
        [<00000000401bb630>] sys_write+0x68/0xb8
        [<0000000040104eb8>] syscall_exit+0x0/0x14
      
      Most terminals handle the line wrapping just fine. I've confirmed that
      it works correctly on a C8000 with both vga and serial output.
      Signed-off-by: NGuy Martin <gmsoft@tuxicoman.be>
      Cc: Stable Tree <stable@kernel.org>
      Signed-off-by: NJames Bottomley <James.Bottomley@suse.de>
      fbea6684
  20. 14 1月, 2011 2 次提交
  21. 17 12月, 2010 1 次提交
  22. 05 12月, 2010 2 次提交
  23. 30 11月, 2010 1 次提交
  24. 18 11月, 2010 1 次提交
  25. 17 11月, 2010 1 次提交