Permalink
Commits on Oct 21, 2011
  1. [thin] removed an unused var

    committed Oct 21, 2011
Commits on Oct 20, 2011
  1. [bufio] fix dm_bufio_release_move function (the write callback could

    be called with a wrong block number).
    committed Oct 20, 2011
Commits on Oct 19, 2011
  1. documentation: remove trim message

    snitm committed with Oct 18, 2011
Commits on Oct 18, 2011
  1. [thin] remove the ability to rebind metadata device, and fail table

    loads the change metadata device.
    committed Oct 18, 2011
  2. group workqueue fns

    Group together workqueue functions.
    kergon committed with Oct 18, 2011
  3. group endio fns

    Group together endio structs and functions.
    
    (When looking at the code it's important to know the context code runs in.
    - endio, workqueue, target management, i/o submission etc. - so help people
    understand this by trying to group the 'special' contexts together.)
    kergon committed with Oct 18, 2011
  4. comments & style

    comment & style changes
    kergon committed with Oct 18, 2011
  5. renaming

    Rename stuff I found ambiguous.
    kergon committed with Oct 18, 2011
  6. whitespace & (C)

    Copyright and whitespace.
    kergon committed with Oct 18, 2011
  7. cputimer: Cure lock inversion

    There's a lock inversion between the cputimer->lock and rq->lock;
    notably the two callchains involved are:
    
     update_rlimit_cpu()
       sighand->siglock
       set_process_cpu_timer()
         cpu_timer_sample_group()
           thread_group_cputimer()
             cputimer->lock
             thread_group_cputime()
               task_sched_runtime()
                 ->pi_lock
                 rq->lock
    
     scheduler_tick()
       rq->lock
       task_tick_fair()
         update_curr()
           account_group_exec()
             cputimer->lock
    
    Where the first one is enabling a CLOCK_PROCESS_CPUTIME_ID timer, and
    the second one is keeping up-to-date.
    
    This problem was introduced by e8abccb ("posix-cpu-timers: Cure
    SMP accounting oddities").
    
    Cure the problem by removing the cputimer->lock and rq->lock nesting,
    this leaves concurrent enablers doing duplicate work, but the time
    wasted should be on the same order otherwise wasted spinning on the
    lock and the greater-than assignment filter should ensure we preserve
    monotonicity.
    
    Reported-by: Dave Jones <davej@redhat.com>
    Reported-by: Simon Kirby <sim@hostway.ca>
    Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
    Cc: stable@kernel.org
    Cc: Linus Torvalds <torvalds@linux-foundation.org>
    Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
    Link: http://lkml.kernel.org/r/1318928713.21167.4.camel@twins
    Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
    Peter Zijlstra committed with Thomas Gleixner Oct 17, 2011
  8. Linux 3.1-rc10

    torvalds committed Oct 18, 2011
Commits on Oct 17, 2011
  1. reverse last patch

    committed Oct 17, 2011
  2. fluff from agk

    committed Oct 17, 2011
  3. Avoid using variable-length arrays in kernel/sys.c

    The size is always valid, but variable-length arrays generate worse code
    for no good reason (unless the function happens to be inlined and the
    compiler sees the length for the simple constant it is).
    
    Also, there seems to be some code generation problem on POWER, where
    Henrik Bakken reports that register r28 can get corrupted under some
    subtle circumstances (interrupt happening at the wrong time?).  That all
    indicates some seriously broken compiler issues, but since variable
    length arrays are bad regardless, there's little point in trying to
    chase it down.
    
    "Just don't do that, then".
    
    Reported-by: Henrik Grindal Bakken <henribak@cisco.com>
    Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
    Cc: stable@kernel.org
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    torvalds committed Oct 17, 2011
  4. fixup comment

    mauelsha committed with Oct 17, 2011
  5. dm-bufio

    16:59 <ejt> what next?
    
    My current bufio diff is:
    
      http://people.redhat.com/agk/patches/linux/editing/joe-bufio-diff.patch
    
    which passes checkpatch
    kergon committed with Oct 14, 2011
Commits on Oct 16, 2011
  1. Merge branch 'fixes' of http://ftp.arm.linux.org.uk/pub/linux/arm/ker…

    …nel/git-cur/linux-2.6-arm
    
    * 'fixes' of http://ftp.arm.linux.org.uk/pub/linux/arm/kernel/git-cur/linux-2.6-arm:
      ARM: 7128/1: vic: Don't write to the read-only register VIC_IRQ_STATUS
      ARM: 7122/1: localtimer: add header linux/errno.h explicitly
      ARM: 7117/1: perf: fix HW_CACHE_* events on Cortex-A9
      ARM: 7113/1: mm: Align bank start to MAX_ORDER_NR_PAGES
    torvalds committed Oct 16, 2011
Commits on Oct 15, 2011
  1. ARM: 7128/1: vic: Don't write to the read-only register VIC_IRQ_STATUS

    This is unneeded and causes an abort on the SPMP8000 platform.
    
    Acked-by: Linus Walleij <linus.walleij@linaro.org>
    Signed-off-by: Zoltan Devai <zoss@devai.org>
    Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
    Zoltan Devai committed with Russell King Oct 10, 2011
  2. ARM: 7122/1: localtimer: add header linux/errno.h explicitly

    Per the text in  Documentation/SubmitChecklist as below, we should
    explicitly have header linux/errno.h in localtimer.h for ENXIO
    reference.
    
    1: If you use a facility then #include the file that defines/declares
       that facility.  Don't depend on other header files pulling in ones
       that you use.
    
    Otherwise, we may run into some compiling error like the following one,
    if any file includes localtimer.h without CONFIG_LOCAL_TIMERS defined.
    
      arch/arm/include/asm/localtimer.h: In function ‘local_timer_setup’:
      arch/arm/include/asm/localtimer.h:53:10: error: ‘ENXIO’ undeclared (first use in this function)
    
    Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
    Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
    Shawn Guo committed with Russell King Oct 6, 2011