29 Aug, 2008

21 commits


28 Aug, 2008

19 commits

  • It fixes an accounting bug where we would continue accumulating runtime
    even though the bandwidth control is disabled. This would lead to very long
    throttle periods once bandwidth control gets turned on again.

    Signed-off-by: Peter Zijlstra
    Signed-off-by: Ingo Molnar

    Peter Zijlstra
     
  • Signed-off-by: Michael Hennerich
    Signed-off-by: Bryan Wu

    Michael Hennerich
     
  • Using just 'unsigned' will make flags an unsigned int. While this is
    arguably not an error on blackfin where sizeof(int) == sizeof(long),
    the patch is still justified on the grounds of principle.

    The patch was generated using the Coccinelle semantic patch framework.

    Cc: Julia Lawall
    Cc: Alexey Dobriyan
    Signed-off-by: Vegard Nossum
    Signed-off-by: Mike Frysinger
    Signed-off-by: Bryan Wu

    Vegard Nossum
     
  • When sysctl_sched_rt_runtime is set to something other than -1 and the
    CONFIG_RT_GROUP_SCHED kernel parameter is NOT enabled, we get into a state
    where we see one or more CPUs idling forvever even though there are
    real-time
    tasks in their rt runqueue that are able to run (no longer throttled).

    The sequence is:

    - A real-time task is running when the timer sets the rt runqueue
    to throttled, and the rt task is resched_task()ed and switched
    out, and idle is switched in since there are no non-rt tasks to
    run on that cpu.

    - Eventually the do_sched_rt_period_timer() runs and un-throttles
    the rt runqueue, but we just exit the timer interrupt and go back
    to executing the idle task in the idle loop forever.

    If we change the sched_rt_rq_enqueue() routine to use some of the code
    from the CONFIG_RT_GROUP_SCHED enabled version of this same routine and
    resched_task() the currently executing task (idle in our case) if it is
    a lower priority task than the higher rt task in the now un-throttled
    runqueue, the problem is no longer observed.

    Signed-off-by: John Blackwood
    Signed-off-by: Peter Zijlstra
    Signed-off-by: Ingo Molnar

    John Blackwood
     
  • Some DVB adapters do not support the special I2C transaction that we
    use for probing purposes. There's no point in logging this event, as
    there's nothing the user can do and in general there is no actual
    problem. So, degrade one of these messages to a debug message, and
    move the other one around so that it is only printed on bogus drivers.

    Signed-off-by: Jean Delvare
    Acked-by: Uwe Bugla

    Jean Delvare
     
  • Add missing kernel descriptions of struct i2c_driver members.

    Signed-off-by: Jean Delvare
    Acked-by: Randy Dunlap
    Cc: David Brownell

    Jean Delvare
     
  • device_init_wakeup must be called after device_register.

    Signed-off-by: Marc Pignat
    Acked-by: David Brownell
    Signed-off-by: Jean Delvare

    Marc Pignat
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (55 commits)
    sctp: fix random memory dereference with SCTP_HMAC_IDENT option.
    sctp: correct bounds check in sctp_setsockopt_auth_key
    wan: Missing capability checks in sbni_ioctl()
    e100, fix iomap read
    qeth: preallocated header account offset
    qeth: l2 write unicast list to hardware
    qeth: use -EOPNOTSUPP instead of -ENOTSUPP.
    ibm_newemac: Don't call dev_mc_add() before device is registered
    net: don't grab a mutex within a timer context in gianfar
    forcedeth: fix checksum flag
    net/usb/mcs7830: add set_mac_address
    net/usb/mcs7830: new device IDs
    [netdrvr] smc91x: fix resource removal (null ptr deref)
    ibmveth: fix bad UDP checksums
    [netdrvr] hso: dev_kfree_skb crash fix
    [netdrvr] hso: icon 322 detection fix
    atl1: disable TSO by default
    atl1e: multistatement if missing braces
    igb: remove 82576 quad adapter
    drivers/net/skfp/ess.c: fix compile warnings
    ...

    Linus Torvalds
     
  • The number of identifiers needs to be checked against the option
    length. Also, the identifier index provided needs to be verified
    to make sure that it doesn't exceed the bounds of the array.

    Signed-off-by: Vlad Yasevich
    Signed-off-by: David S. Miller

    Vlad Yasevich
     
  • The bonds check to prevent buffer overlflow was not exactly
    right. It still allowed overflow of up to 8 bytes which is
    sizeof(struct sctp_authkey).

    Since optlen is already checked against the size of that struct,
    we are guaranteed not to cause interger overflow either.

    Signed-off-by: Vlad Yasevich
    Signed-off-by: David S. Miller

    Vlad Yasevich
     
  • Russell King
     
  • Initialize the L_Key and R_Key for memory regions returned from
    mlx4_ib_alloc_fast_reg_mr(). Otherwise callers just get garbage for
    the memory keys and can't do anything useful with these MRs.

    Signed-off-by: Vladimir Sokolovsky
    Signed-off-by: Roland Dreier
    Signed-off-by: Linus Torvalds

    Vladimir Sokolovsky
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog:
    [WATCHDOG] removed unused #include
    [WATCHDOG] at91rm9200_wdt.c: fix misleading indentation
    [WATCHDOG] mpc8xxx_wdt: fix modular build
    [WATCHDOG] hpwdt.c kdebug support
    [WATCHDOG] Add support for the IDT RC32434 watchdog
    [WATCHDOG] Add support for the built-int RDC R-321x SoC watchdog
    [WATHDOG] delete unused driver mpc8xx_wdt.c
    [WATCHDOG] Fix s3c2410_wdt driver coding style issues
    [WATCHDOG] Clean out header of s3c2410_wdt driver.
    [WATCHDOG] Fix NULL usage in s3c2410_wdt driver.

    Linus Torvalds
     
  • Kanru Chen posted a patch versus the old code which deals with the case
    where you resize the pty side of a pty/tty pair. In that situation the
    termios data is updated for both pty and tty but the locks are not held
    for the right side.

    This implements the fix differently against the updated tty code. Patch
    by self but the hard bit (noticing and fixing the bug) is thanks to Kanru
    Chen.

    Signed-off-by: Alan Cox
    Signed-off-by: Linus Torvalds

    Alan Cox
     
  • The termios settings ioctls on a pty should affect the bound tty side not
    the pty. The SOFTCAR ioctls use the wrong device file.

    Signed-off-by: Alan Cox
    Signed-off-by: Linus Torvalds

    Alan Cox
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6:
    [CIFS] Add destroy routine for dns_resolver
    [CIFS] Reorder cifs config item for better clarity
    [CIFS] Correct keys dependency for cifs kerberos support

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/penberg/slab-2.6:
    slub: Disable NUMA remote node defragmentation by default

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6:
    [PATCH] deal with the first call of ->show() generating no output
    [PATCH] fix ->llseek() for a bunch of directories
    [PATCH] fix regular readdir() and friends
    [PATCH] fix hpux_getdents()
    [PATCH] fix osf_getdirents()
    [PATCH] ntfs: use d_add_ci
    [PATCH] change d_add_ci argument ordering
    [PATCH] fix efs_lookup()
    [PATCH] proc: inode number fixlet

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6:
    sparc: Add target for a stripped kernel
    sparc64: Make NUMA depend upon SMP.

    Linus Torvalds