The patch titled Subject: memcg-mm-introduce-lowlimit-reclaim-fix2.patch has been removed from the -mm tree. Its filename was memcg-mm-introduce-lowlimit-reclaim-fix2patch.patch This patch was dropped because it was withdrawn ------------------------------------------------------ From: Hugh Dickins <hughd@xxxxxxxxxx> Subject: memcg-mm-introduce-lowlimit-reclaim-fix2.patch mem_cgroup_within_guarantee() oopses in _raw_spin_lock_irqsave() when booted with cgroup_disable=memory. Fix that in the obvious inelegant way for now - though I hope we are moving towards a world in which almost all of the mem_cgroup_disabled() tests will vanish, with a root_mem_cgroup which can handle the basics even when disabled. I bet there's a neater way of doing this, rearranging the loop (and we shall want to avoid spinlocking on root_mem_cgroup when we reach that new world), but that's the kind of thing I'd get wrong in a hurry! Signed-off-by: Hugh Dickins <hughd@xxxxxxxxxx> Acked-by: Michal Hocko <mhocko@xxxxxxx> Cc: Johannes Weiner <hannes@xxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/memcontrol.c | 3 +++ 1 file changed, 3 insertions(+) diff -puN mm/memcontrol.c~memcg-mm-introduce-lowlimit-reclaim-fix2patch mm/memcontrol.c --- a/mm/memcontrol.c~memcg-mm-introduce-lowlimit-reclaim-fix2patch +++ a/mm/memcontrol.c @@ -2792,6 +2792,9 @@ static struct mem_cgroup *mem_cgroup_loo bool mem_cgroup_within_guarantee(struct mem_cgroup *memcg, struct mem_cgroup *root) { + if (mem_cgroup_disabled()) + return false; + do { if (!res_counter_low_limit_excess(&memcg->res)) return true; _ Patches currently in -mm which might be from hughd@xxxxxxxxxx are mm-memoryc-use-entry-=-access_oncepte-in-handle_pte_fault.patch mm-pagewalk-remove-pgd_entry-and-pud_entry.patch mm-pagewalk-replace-mm_walk-skip-with-more-general-mm_walk-control.patch madvise-cleanup-swapin_walk_pmd_entry.patch memcg-separate-mem_cgroup_move_charge_pte_range.patch arch-powerpc-mm-subpage-protc-cleanup-subpage_walk_pmd_entry.patch mm-pagewalk-move-pmd_trans_huge_lock-from-callbacks-to-common-code.patch mincore-apply-page-table-walker-on-do_mincore.patch list-use-argument-hlist_add_after-names-from-rcu-variant.patch list-fix-order-of-arguments-for-hlist_add_after_rcu.patch klist-use-same-naming-scheme-as-hlist-for-klist_add_after.patch memcg-allow-setting-low_limit.patch memcg-doc-clarify-global-vs-limit-reclaims.patch memcg-doc-clarify-global-vs-limit-reclaims-fix.patch memcg-document-memorylow_limit_in_bytes.patch vmscan-memcg-check-whether-the-low-limit-should-be-ignored.patch mm-replace-remap_file_pages-syscall-with-emulation-fix-3.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html