- mm-use-__dec_zone_state-in-__dec_zone_page_state.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     mm: use __dec_zone_state() in __dec_zone_page_state()
has been removed from the -mm tree.  Its filename was
     mm-use-__dec_zone_state-in-__dec_zone_page_state.patch

This patch was dropped because it was merged into mainline or a subsystem tree

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: mm: use __dec_zone_state() in __dec_zone_page_state()
From: Uwe Kleine-König <Uwe.Kleine-Koenig@xxxxxxxx>

This removes code duplication and makes __dec_zone_page_state look like
__inc_zone_page_state.

Signed-off-by: Uwe Kleine-König <Uwe.Kleine-Koenig@xxxxxxxx>
Cc: Christoph Lameter <clameter@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 include/linux/vmstat.h |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff -puN include/linux/vmstat.h~mm-use-__dec_zone_state-in-__dec_zone_page_state include/linux/vmstat.h
--- a/include/linux/vmstat.h~mm-use-__dec_zone_state-in-__dec_zone_page_state
+++ a/include/linux/vmstat.h
@@ -246,8 +246,7 @@ static inline void __dec_zone_state(stru
 static inline void __dec_zone_page_state(struct page *page,
 			enum zone_stat_item item)
 {
-	atomic_long_dec(&page_zone(page)->vm_stat[item]);
-	atomic_long_dec(&vm_stat[item]);
+	__dec_zone_state(page_zone(page), item);
 }
 
 /*
_

Patches currently in -mm which might be from Uwe.Kleine-Koenig@xxxxxxxx are

origin.patch
arm-fix-freeing-of-page-tables-in-free_pgd_slow.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

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux