Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 36145
b: refs/heads/master
c: e129b5c
h: refs/heads/master
i:
  36143: 69af338
v: v3
  • Loading branch information
Andrew Morton authored and Linus Torvalds committed Sep 27, 2006
1 parent cdc7e02 commit 2972fd5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fb01439c5b778d5974a488c5d4fe85e6d0e18a68
refs/heads/master: e129b5c23c2b471d47f1c5d2b8b193fc2034af43
1 change: 1 addition & 0 deletions trunk/include/linux/mmzone.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ enum zone_stat_item {
NR_WRITEBACK,
NR_UNSTABLE_NFS, /* NFS unstable pages */
NR_BOUNCE,
NR_VMSCAN_WRITE,
#ifdef CONFIG_NUMA
NUMA_HIT, /* allocated in intended node */
NUMA_MISS, /* allocated in non intended node */
Expand Down
3 changes: 2 additions & 1 deletion trunk/mm/vmscan.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#include <linux/pagemap.h>
#include <linux/init.h>
#include <linux/highmem.h>
#include <linux/vmstat.h>
#include <linux/file.h>
#include <linux/writeback.h>
#include <linux/blkdev.h>
Expand Down Expand Up @@ -370,7 +371,7 @@ static pageout_t pageout(struct page *page, struct address_space *mapping)
/* synchronous write or broken a_ops? */
ClearPageReclaim(page);
}

inc_zone_page_state(page, NR_VMSCAN_WRITE);
return PAGE_SUCCESS;
}

Expand Down
1 change: 1 addition & 0 deletions trunk/mm/vmstat.c
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,7 @@ static char *vmstat_text[] = {
"nr_writeback",
"nr_unstable",
"nr_bounce",
"nr_vmscan_write",

#ifdef CONFIG_NUMA
"numa_hit",
Expand Down

0 comments on commit 2972fd5

Please sign in to comment.