1. 23 Mar, 2015 1 commit
    • Nishanth Aravamudan's avatar
      powerpc/numa: Reset node_possible_map to only node_online_map · 3af229f2
      Nishanth Aravamudan authored
      Raghu noticed an issue with excessive memory allocation on power with a
      simple cgroup test, specifically, in mem_cgroup_css_alloc ->
      for_each_node -> alloc_mem_cgroup_per_zone_info(), which ends up blowing
      up the kmalloc-2048 slab (to the order of 200MB for 400 cgroup
      directories).
      
      The underlying issue is that NODES_SHIFT on power is 8 (256 NUMA nodes
      possible), which defines node_possible_map, which in turn defines the
      value of nr_node_ids in setup_nr_node_ids and the iteration of
      for_each_node.
      
      In practice, we never see a system with 256 NUMA nodes, and in fact, we
      do not support node hotplug on power in the first place, so the nodes
      that are online when we come up are the nodes that will be present for
      the lifetime of this kernel. So let's, at least, drop the NUMA possible
      map down to the online map at runtime. This is similar to what x86 does
      in its initialization routines.
      
      mem_cgroup_css_alloc should also be fixed to only iterate over
      memory-populated nodes and handle hotplug, but that is a separate
      change.
      Signed-off-by: default avatarNishanth Aravamudan <nacc@linux.vnet.ibm.com>
      Cc: Tejun Heo <tj@kernel.org>
      Cc: David Rientjes <rientjes@google.com>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Anton Blanchard <anton@samba.org>
      Cc: Raghavendra K T <raghavendra.kt@linux.vnet.ibm.com>
      Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
      3af229f2
  2. 20 Mar, 2015 1 commit
  3. 18 Mar, 2015 1 commit
  4. 17 Mar, 2015 15 commits
  5. 16 Mar, 2015 20 commits
  6. 15 Mar, 2015 2 commits
    • Linus Torvalds's avatar
      Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux · 08352086
      Linus Torvalds authored
      Pull drm fix from Dave Airlie:
       "An oops snuck in in an -rc3 patch, this fixes it"
      
      * 'drm-fixes' of git://people.freedesktop.org/~airlied/linux:
        [PATCH] drm/mm: Fix support 4 GiB and larger ranges
      08352086
    • Linus Torvalds's avatar
      Merge tag 'clk-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux · 1ee89c51
      Linus Torvalds authored
      Pull clock framework fixes from Michael Turquette:
       "The clk fixes for 4.0-rc4 comprise three themes.
      
        First are the usual driver fixes for new regressions since v3.19.
      
        Second are fixes to the common clock divider type caused by recent
        changes to how we round clock rates.  This affects many clock drivers
        that use this common code.
      
        Finally there are fixes for drivers that improperly compared struct
        clk pointers (drivers must not deref these pointers).  While some of
        these drivers have done this for a long time, this did not cause a
        problem until we started generating unique struct clk pointers for
        every consumer.  A new function, clk_is_match was introduced to get
        these drivers working again and they are fixed up to no longer deref
        the pointers themselves"
      
      * tag 'clk-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux:
        ASoC: kirkwood: fix struct clk pointer comparing
        ASoC: fsl_spdif: fix struct clk pointer comparing
        ARM: imx: fix struct clk pointer comparing
        clk: introduce clk_is_match
        clk: don't export static symbol
        clk: divider: fix calculation of initial best divider when rounding to closest
        clk: divider: fix selection of divider when rounding to closest
        clk: divider: fix calculation of maximal parent rate for a given divider
        clk: divider: return real rate instead of divider value
        clk: qcom: fix platform_no_drv_owner.cocci warnings
        clk: qcom: fix platform_no_drv_owner.cocci warnings
        clk: qcom: Add PLL4 vote clock
        clk: qcom: lcc-msm8960: Fix PLL rate detection
        clk: qcom: Fix slimbus n and m val offsets
        clk: ti: Fix FAPLL parent enable bit handling
      1ee89c51