1. 17 Sep, 2005 12 commits
  2. 16 Sep, 2005 2 commits
  3. 15 Sep, 2005 7 commits
  4. 14 Sep, 2005 4 commits
    • David S. Miller's avatar
      [LIB]: Consolidate _atomic_dec_and_lock() · 4db2ce01
      David S. Miller authored
      
      
      Several implementations were essentialy a common piece of C code using
      the cmpxchg() macro.  Put the implementation in one spot that everyone
      can share, and convert sparc64 over to using this.
      
      Alpha is the lone arch-specific implementation, which codes up a
      special fast path for the common case in order to avoid GP reloading
      which a pure C version would require.
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      4db2ce01
    • Linus Torvalds's avatar
      Partially revert "Fix time going twice as fast problem on ATI Xpress chipsets" · 1619cca2
      Linus Torvalds authored
      Commit 66759a01
      
       introduced the fix for
      time ticking too fast on some boards by disabling one of the doubly
      connected timer pins on ATI boards.
      
      However, it ends up being _much_ too broad a brush, and that just makes
      some other ATI boards not work at all since they now have no timer
      source.
      
      So disable the automatic ATI southbridge detection, and just rely on
      people who see this problem disabling it by hand with the option
      "disable_timer_pin_1" on the kernel command line.
      
      Maybe somebody can figure out the proper tests at a later date.
      Acked-by: default avatarPeter Osterlund <petero2@telia.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      1619cca2
    • Nicolas Pitre's avatar
      [ARM] 2910/1: missing Lubbock audio device declaration · 2cef2d55
      Nicolas Pitre authored
      
      
      Patch from Nicolas Pitre
      
      This apparently fell in the crack somewhere.  Add it back.
      Signed-off-by: default avatarNicolas Pitre <nico@cam.org>
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      2cef2d55
    • Hugh Dickins's avatar
      [PATCH] error path in setup_arg_pages() misses vm_unacct_memory() · 2fd4ef85
      Hugh Dickins authored
      
      
      Pavel Emelianov and Kirill Korotaev observe that fs and arch users of
      security_vm_enough_memory tend to forget to vm_unacct_memory when a
      failure occurs further down (typically in setup_arg_pages variants).
      
      These are all users of insert_vm_struct, and that reservation will only
      be unaccounted on exit if the vma is marked VM_ACCOUNT: which in some
      cases it is (hidden inside VM_STACK_FLAGS) and in some cases it isn't.
      
      So x86_64 32-bit and ppc64 vDSO ELFs have been leaking memory into
      Committed_AS each time they're run.  But don't add VM_ACCOUNT to them,
      it's inappropriate to reserve against the very unlikely case that gdb
      be used to COW a vDSO page - we ought to do something about that in
      do_wp_page, but there are yet other inconsistencies to be resolved.
      
      The safe and economical way to fix this is to let insert_vm_struct do
      the security_vm_enough_memory check when it finds VM_ACCOUNT is set.
      
      And the MIPS irix_brk has been calling security_vm_enough_memory before
      calling do_brk which repeats it, doubly accounting and so also leaking.
      Remove that, and all the fs and arch calls to security_vm_enough_memory:
      give it a less misleading name later on.
      Signed-off-by: default avatarHugh Dickins <hugh@veritas.com>
      Signed-Off-By: default avatarKirill Korotaev <dev@sw.ru>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      2fd4ef85
  5. 13 Sep, 2005 15 commits