mm-memcg-remove-unnecessary-preemption-disabling.patch removed from -mm tree
Subsystems (2)
[email protected]
maintainerSubject: [merged] mm-memcg-remove-unnecessary-preemption-disabling.patch removed from -mm tree
To: [email protected],[email protected],[email protected]
From: [email protected]
Date: Tue, 08 Apr 2014 13:49:47 -0700
The patch titled
Subject: mm: memcg: remove unnecessary preemption disabling
has been removed from the -mm tree. Its filename was
mm-memcg-remove-unnecessary-preemption-disabling.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Johannes Weiner <[email protected]>
Subject: mm: memcg: remove unnecessary preemption disabling
lock_page_cgroup() disables preemption, remove explicit preemption disabling for code paths holding this lock.
---
mm/memcontrol.c | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-)
mm/memcontrol.c renamed from mm/memcontrol.c~mm-memcg-remove-unnecessary-preemption-disabling +4 -11
@@ -921,8 +921,6 @@ static void mem_cgroup_charge_statisticsstruct page *page, bool anon, int nr_pages) { -preempt_disable (); -/* * Here, RSS means 'mapped anon' and anon's SwapCache. Shmem/tmpfs is * counted as CACHE even if it's on ANON LRU.
@@ -947,8 +945,6 @@ static void mem_cgroup_charge_statistics }__this_cpu_add (memcg->stat->nr_page_events, nr_pages); - -preempt_enable (); }unsigned long
@@ -3748,17 +3744,14 @@ void mem_cgroup_split_huge_fixup(struct }#endif /* CONFIG_TRANSPARENT_HUGEPAGE */ -static inline -void mem_cgroup_move_account_page_stat (struct mem_cgroup *from, -struct mem_cgroup *to, -unsigned int nr_pages, -enum mem_cgroup_stat_index idx) +static void mem_cgroup_move_account_page_stat (struct mem_cgroup *from, +struct mem_cgroup *to, +unsigned int nr_pages, +enum mem_cgroup_stat_index idx) {/* Update stat data for mem_cgroup */ -preempt_disable ();__this_cpu_sub (from->stat->count[idx], nr_pages);__this_cpu_add (to->stat->count[idx], nr_pages); -preempt_enable (); }/**
_
Patches currently in -mm which might be from [email protected] are
origin.patch mm-vmscan-do-not-swap-anon-pages-just-because-freefile-is-low.patch