1. 11 1月, 2011 1 次提交
  2. 04 1月, 2011 2 次提交
  3. 29 12月, 2010 1 次提交
  4. 24 12月, 2010 4 次提交
  5. 17 12月, 2010 1 次提交
  6. 14 12月, 2010 1 次提交
  7. 11 12月, 2010 3 次提交
  8. 05 12月, 2010 1 次提交
  9. 01 12月, 2010 1 次提交
  10. 30 11月, 2010 1 次提交
  11. 29 11月, 2010 2 次提交
  12. 24 11月, 2010 1 次提交
    • J
      Char: virtio_console, fix memory leak · 22e132ff
      Jiri Slaby 提交于
      Stanse found that in init_vqs, memory is leaked under certain
      circumstanses (the fail path order is incorrect). Fix that by checking
      allocations in one turn and free all of them at once if some fails
      (some may be NULL, but this is OK).
      Signed-off-by: NJiri Slaby <jslaby@suse.cz>
      Cc: Amit Shah <amit.shah@redhat.com>
      Cc: virtualization@lists.linux-foundation.org
      Cc: Greg Kroah-Hartman <gregkh@suse.de>
      Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
      22e132ff
  13. 18 11月, 2010 3 次提交
  14. 16 11月, 2010 1 次提交
    • J
      Fix gcc 4.5.1 miscompiling drivers/char/i8k.c (again) · 22d3243d
      Jim Bos 提交于
      The fix in commit 6b4e81db ("i8k: Tell gcc that *regs gets
      clobbered") to work around the gcc miscompiling i8k.c to add "+m
      (*regs)" caused register pressure problems and a build failure.
      
      Changing the 'asm' statement to 'asm volatile' instead should prevent
      that and works around the gcc bug as well, so we can remove the "+m".
      
      [ Background on the gcc bug: a memory clobber fails to mark the function
        the asm resides in as non-pure (aka "__attribute__((const))"), so if
        the function does nothing else that triggers the non-pure logic, gcc
        will think that that function has no side effects at all. As a result,
        callers will be mis-compiled.
      
        Adding the "+m" made gcc see that it's not a pure function, and so
        does "asm volatile". The problem was never really the need to mark
        "*regs" as changed, since the memory clobber did that part - the
        problem was just a bug in the gcc "pure" function analysis  - Linus ]
      Signed-off-by: NJim Bos <jim876@xs4all.nl>
      Acked-by: NJakub Jelinek <jakub@redhat.com>
      Cc: Andi Kleen <andi@firstfloor.org>
      Cc: Andreas Schwab <schwab@linux-m68k.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      22d3243d
  15. 15 11月, 2010 1 次提交
  16. 14 11月, 2010 1 次提交
    • J
      i8k: Tell gcc that *regs gets clobbered · 6b4e81db
      Jim Bos 提交于
      More recent GCC caused the i8k driver to stop working, on Slackware
      compiler was upgraded from gcc-4.4.4 to gcc-4.5.1 after which it didn't
      work anymore, meaning the driver didn't load or gave total nonsensical
      output.
      
      As it turned out the asm(..) statement forgot to mention it modifies the
      *regs variable.
      
      Credits to Andi Kleen and Andreas Schwab for providing the fix.
      Signed-off-by: NJim Bos <jim876@xs4all.nl>
      Cc: Andi Kleen <andi@firstfloor.org>
      Cc: Andreas Schwab <schwab@linux-m68k.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      6b4e81db
  17. 12 11月, 2010 1 次提交
  18. 10 11月, 2010 4 次提交
  19. 06 11月, 2010 1 次提交
  20. 05 11月, 2010 2 次提交
  21. 04 11月, 2010 2 次提交
  22. 30 10月, 2010 2 次提交
    • T
      audit: Call tty_audit_push_task() outside preempt disabled · 3c80fe4a
      Thomas Gleixner 提交于
      While auditing all tasklist_lock read_lock sites I stumbled over the
      following call chain:
      
      audit_prepare_user_tty()
        read_lock(&tasklist_lock);
        tty_audit_push_task();
           mutex_lock(&buf->mutex);
      
           --> buf->mutex is locked with preemption disabled.
      
      Solve this by acquiring a reference to the task struct under
      rcu_read_lock and call tty_audit_push_task outside of the preempt
      disabled region.
      
      Move all code which needs to be protected by sighand lock into
      tty_audit_push_task() and use lock/unlock_sighand as we do not hold
      tasklist_lock.
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      Cc: Al Viro <viro@zeniv.linux.org.uk>
      Cc: Eric Paris <eparis@redhat.com>
      Cc: Oleg Nesterov <oleg@redhat.com>
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      3c80fe4a
    • K
      parisc-agp: fix missing slab.h include · 6a915c2b
      Kyle McMartin 提交于
      Commit 338e4fab added a missing kfree if the alloc_pci_dev failed
      but forgot to include <linux/slab.h> for the definition of
      kfree.
      Signed-off-by: NKyle McMartin <kyle@redhat.com>
      6a915c2b
  23. 28 10月, 2010 3 次提交