The patch titled ZVC: add __inc_zone_state for !SMP configuration has been added to the -mm tree. Its filename is zvc-add-__inc_zone_state-for-smp-configuration.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: ZVC: add __inc_zone_state for !SMP configuration From: Christoph Lameter <clameter@xxxxxxx> It turns out that there is a way to build a kernel with NUMA and no SMP. In that case we are missing one definition __inc_zone_state. Provide that missing __inc_zone_state. (akpm: NUMA && !SMP sounds odd, but I am told "But there is the concept of cpuless nodes. A NUMA system without SMP has a single processor but multiple memory nodes. This used to work before on IA64 (wasn't aware of it, never seen anyone with this kind of thing).") Acked-by: Tony Luck <tony.luck@xxxxxxxxx> Signed-off-by: Christoph Lameter <clameter@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- include/linux/vmstat.h | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff -puN include/linux/vmstat.h~zvc-add-__inc_zone_state-for-smp-configuration include/linux/vmstat.h --- a/include/linux/vmstat.h~zvc-add-__inc_zone_state-for-smp-configuration +++ a/include/linux/vmstat.h @@ -186,11 +186,16 @@ static inline void __mod_zone_page_state zone_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 __inc_zone_page_state(struct page *page, enum zone_stat_item item) { - atomic_long_inc(&page_zone(page)->vm_stat[item]); - atomic_long_inc(&vm_stat[item]); + __inc_zone_state(page_zone(page), item); } static inline void __dec_zone_page_state(struct page *page, _ Patches currently in -mm which might be from clameter@xxxxxxx are zvc-add-__inc_zone_state-for-smp-configuration.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