X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fmmzone.h;h=885cc9727001cc93c692fd039de81c2b0c126b82;hb=ce866b34ae1b7f1ce60234cf65855886ac7e7d30;hp=08be91e6cecf9fe05d6ae95a3234f42d95ae9ff2;hpb=347ce434d57da80fd5809c0c836f206a50999c26;p=linux-2.6 diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h index 08be91e6ce..885cc97270 100644 --- a/include/linux/mmzone.h +++ b/include/linux/mmzone.h @@ -47,9 +47,14 @@ struct zone_padding { #endif enum zone_stat_item { - NR_FILE_MAPPED, /* mapped into pagetables. + NR_ANON_PAGES, /* Mapped anonymous pages */ + NR_FILE_MAPPED, /* pagecache pages mapped into pagetables. only modified from process context */ NR_FILE_PAGES, + NR_SLAB, /* Pages used by slab allocator */ + NR_PAGETABLE, /* used for pagetables */ + NR_FILE_DIRTY, + NR_WRITEBACK, NR_VM_ZONE_STAT_ITEMS }; struct per_cpu_pages { @@ -177,12 +182,6 @@ struct zone { /* Zone statistics */ atomic_long_t vm_stat[NR_VM_ZONE_STAT_ITEMS]; - /* - * timestamp (in jiffies) of the last zone reclaim that did not - * result in freeing of pages. This is used to avoid repeated scans - * if all memory in the zone is in use. - */ - unsigned long last_unsuccessful_zone_reclaim; /* * prev_priority holds the scanning priority for this zone. It is