]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mm-vmstatc-uninline-node_page_state-fix
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 21 Oct 2015 22:03:13 +0000 (09:03 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 21 Oct 2015 22:03:13 +0000 (09:03 +1100)
fix comment - node_page_state() is only for userspace meminfo display and
shouldn't be called frequently

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/vmstat.c

index 0b4753994a2e65832c1a2092b0f5c6b05b2afd9f..879a2be23325ce73158e097eb381628a5fd5f548 100644 (file)
@@ -593,9 +593,7 @@ void zone_statistics(struct zone *preferred_zone, struct zone *z, gfp_t flags)
 }
 
 /*
- * Determine the per node value of a stat item. This function
- * is called frequently in a NUMA machine, so try to be as
- * frugal as possible.
+ * Determine the per node value of a stat item.
  */
 unsigned long node_page_state(int node, enum zone_stat_item item)
 {