1. 04 Feb, 2015 10 commits
  2. 03 Feb, 2015 1 commit
  3. 30 Jan, 2015 5 commits
  4. 28 Jan, 2015 2 commits
    • Mike Galbraith's avatar
      sched: Fix crash if cpuset_cpumask_can_shrink() is passed an empty cpumask · bb2bc55a
      Mike Galbraith authored
      While creating an exclusive cpuset, we passed cpuset_cpumask_can_shrink()
      an empty cpumask (cur), and dl_bw_of(cpumask_any(cur)) made boom with it:
      
       CPU: 0 PID: 6942 Comm: shield.sh Not tainted 3.19.0-master #19
       Hardware name: MEDIONPC MS-7502/MS-7502, BIOS 6.00 PG 12/26/2007
       task: ffff880224552450 ti: ffff8800caab8000 task.ti: ffff8800caab8000
       RIP: 0010:[<ffffffff81073846>]  [<ffffffff81073846>] cpuset_cpumask_can_shrink+0x56/0xb0
       [...]
       Call Trace:
        [<ffffffff810cb82a>] validate_change+0x18a/0x200
        [<ffffffff810cc877>] cpuset_write_resmask+0x3b7/0x720
        [<ffffffff810c4d58>] cgroup_file_write+0x38/0x100
        [<ffffffff811d953a>] kernfs_fop_write+0x12a/0x180
        [<ffffffff8116e1a3>] vfs_write+0xb3/0x1d0
        [<ffffffff8116ed06>] SyS_write+0x46/0xb0
        [<ffffffff8159ced6>] system_call_fastpath+0x16/0x1b
      Signed-off-by: default avatarMike Galbraith <umgwanakikbuti@gmail.com>
      Acked-by: default avatarZefan Li <lizefan@huawei.com>
      Fixes: f82f8042 ("sched/deadline: Ensure that updates to exclusive cpusets don't break AC")
      Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Link: http://lkml.kernel.org/r/1422417235.5716.5.camel@marge.simpson.netSigned-off-by: default avatarIngo Molnar <mingo@kernel.org>
      bb2bc55a
    • Jan Beulich's avatar
      sched/fair: Avoid using uninitialized variable in preferred_group_nid() · 81907478
      Jan Beulich authored
      At least some gcc versions - validly afaict - warn about potentially
      using max_group uninitialized: There's no way the compiler can prove
      that the body of the conditional where it and max_faults get set/
      updated gets executed; in fact, without knowing all the details of
      other scheduler code, I can't prove this either.
      
      Generally the necessary change would appear to be to clear max_group
      prior to entering the inner loop, and break out of the outer loop when
      it ends up being all clear after the inner one. This, however, seems
      inefficient, and afaict the same effect can be achieved by exiting the
      outer loop when max_faults is still zero after the inner loop.
      
      [ mingo: changed the solution to zero initialization: uninitialized_var()
        needs to die, as it's an actively dangerous construct: if in the future
        a known-proven-good piece of code is changed to have a true, buggy
        uninitialized variable, the compiler warning is then supressed...
      
        The better long term solution is to clean up the code flow, so that
        even simple minded compilers (and humans!) are able to read it without
        getting a headache.  ]
      Signed-off-by: default avatarJan Beulich <jbeulich@suse.com>
      Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
      Cc: Rik van Riel <riel@redhat.com>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Link: http://lkml.kernel.org/r/54C2139202000078000588F7@mail.emea.novell.comSigned-off-by: default avatarIngo Molnar <mingo@kernel.org>
      81907478
  5. 27 Jan, 2015 1 commit
    • Linus Torvalds's avatar
      Merge branch 'akpm' (patches from Andrew Morton) · 4adca1cb
      Linus Torvalds authored
      Merge misc fixes from Andrew Morton:
       "Six fixes"
      
      * emailed patches from Andrew Morton <akpm@linux-foundation.org>:
        drivers/rtc/rtc-s5m.c: terminate s5m_rtc_id array with empty element
        printk: add dummy routine for when CONFIG_PRINTK=n
        mm/vmscan: fix highidx argument type
        memcg: remove extra newlines from memcg oom kill log
        x86, build: replace Perl script with Shell script
        mm: page_alloc: embed OOM killing naturally into allocation slowpath
      4adca1cb
  6. 26 Jan, 2015 18 commits
  7. 24 Jan, 2015 3 commits
    • Linus Torvalds's avatar
      Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi · 440e9960
      Linus Torvalds authored
      pULL SCSI fixes from James Bottomley:
       "This consists of four real fixes and three MAINTAINER updates.
      
        Three of the fixes are obvious (the DIX and atomic allocation are bug
        on and warn on fixes and the other is just trivial) and the ipr one is
        a bit more involved but is required because without it, the card
        double completes aborted commands and causes a kernel oops"
      
      * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
        MAINTAINERS: ibmvscsi driver maintainer change
        MAINTAINERS: ibmvfc driver maintainer change
        MAINTAINERS: Remove self as isci maintainer
        scsi_debug: test always evaluates to false, || should be used instead
        scsi: Avoid crashing if device uses DIX but adapter does not support it
        scsi_debug: use atomic allocation in resp_rsup_opcodes
        ipr: wait for aborted command responses
      440e9960
    • Linus Torvalds's avatar
      Merge git://www.linux-watchdog.org/linux-watchdog · f828d5e2
      Linus Torvalds authored
      Pull watchdog fixes from Wim Van Sebroeck:
       "This will fix reboot issues with the imx2_wdt driver and it also drops
        some forgotten owner assignments from platform_drivers"
      
      * git://www.linux-watchdog.org/linux-watchdog:
        watchdog: drop owner assignment from platform_drivers
        watchdog: imx2_wdt: Disable power down counter on boot
        watchdog: imx2_wdt: Improve power management support.
      f828d5e2
    • Linus Torvalds's avatar
      Merge branch 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging · 0012125a
      Linus Torvalds authored
      Pull hwmon update from Jean Delvare:
       "This contains a single thing: a new driver for the temperature sensor
        embedded in the Intel 5500/5520/X58 chipsets.
      
        Sorry for the late request, it's been so long since I last sent a pull
        request and I've been so busy with other tasks meanwhile that I simply
        forgot about these patches.  But given that this is a new driver, it
        can't introduce any regression so I thought it could still be OK.
      
        This has been in linux-next for months now"
      
      * 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging:
        hwmon: (i5500_temp) Convert to use ATTRIBUTE_GROUPS macro
        hwmon: (i5500_temp) Convert to module_pci_driver
        hwmon: (i5500_temp) Don't bind to disabled sensors
        hwmon: (i5500_temp) Convert to devm_hwmon_device_register_with_groups
        hwmon: (i5500_temp) New driver for the Intel 5500/5520/X58 chipsets
      0012125a