+ mm-vmstat-fix-up-zone-state-accounting-fix.patch added to -mm tree
[email protected]
maintainerSubject: + mm-vmstat-fix-up-zone-state-accounting-fix.patch added to -mm tree
To: [email protected],[email protected]
From: [email protected]
Date: Wed, 05 Feb 2014 14:17:34 -0800
The patch titled
Subject: mm-vmstat-fix-up-zone-state-accounting-fix
has been added to the -mm tree. Its filename is
mm-vmstat-fix-up-zone-state-accounting-fix.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/mm-vmstat-fix-up-zone-state-accounting-fix.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/mm-vmstat-fix-up-zone-state-accounting-fix.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/SubmitChecklist when testing your code ***
The -mm tree is included into linux-next and is updated there every 3-4 working days
------------------------------------------------------
From: Andrew Morton <[email protected]>
Subject: mm-vmstat-fix-up-zone-state-accounting-fix
make it build
---
include/linux/vmstat.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-)
include/linux/vmstat.h renamed from include/linux/vmstat.h~mm-vmstat-fix-up-zone-state-accounting-fix +12 -12
@@ -214,6 +214,18 @@ static inline void __mod_zone_page_statezone_page_state_add (delta, zone, item); } +static inline void __inc_zone_state (struct zone *zone,enum zone_stat_item item) +{ +atomic_long_inc (&zone->vm_stat[item]); +atomic_long_inc (&vm_stat[item]); +} + +static inline void __dec_zone_state (struct zone *zone,enum zone_stat_item item) +{ +atomic_long_dec (&zone->vm_stat[item]); +atomic_long_dec (&vm_stat[item]); +} +static inline void __inc_zone_page_state (struct page *page,enum zone_stat_item item) {
@@ -234,18 +246,6 @@ static inline void __dec_zone_page_state#define dec_zone_page_state __dec_zone_page_state#define mod_zone_page_state __mod_zone_page_state -static inline void __inc_zone_state (struct zone *zone,enum zone_stat_item item) -{ -atomic_long_inc (&zone->vm_stat[item]); -atomic_long_inc (&vm_stat[item]); -} - -static inline void __dec_zone_state (struct zone *zone,enum zone_stat_item item) -{ -atomic_long_dec (&zone->vm_stat[item]); -atomic_long_dec (&vm_stat[item]); -} -#define inc_zone_state __inc_zone_state#define dec_zone_state __dec_zone_state
_
Patches currently in -mm which might be from [email protected] are
arch-alpha-kernel-systblss-remove-debug-check.patch i-need-old-gcc.patch mm-swap-fix-race-on-swap_info-reuse-between-swapoff-and-swapon.patch xen-properly-account-for-_page_numa-during-xen-pte-translations-fix.patch numa-mem-hotplug-initialize-numa_kernel_nodes-in-numa_clear_kernel_node_hotplug.patch input-route-kbd-leds-through-the-generic-leds-layer.patch ocfs2-fix-ocfs2_sync_file-if-filesystem-is-readonly-fix.patch
mm.patch
mm-hugetlb-improve-page-fault-scalability-fix.patch kmod-run-usermodehelpers-only-on-cpus-allowed-for-kthreadd-v2-fix.patch kmod-run-usermodehelpers-only-on-cpus-allowed-for-kthreadd-v2-checkpatch-fixes.patch linux-next.patch
debugging-keep-track-of-page-owners.patch journal_add_journal_head-debug.patch kernel-forkc-export-kernel_thread-to-modules.patch mutex-subsystem-synchro-test-module.patch
slab-leaks3-default-y.patch
put_bh-debug.patch
mm-vmstat-fix-up-zone-state-accounting-fix.patch