The patch titled pagemap: return map count, not reference count, in /proc/kpagecount has been removed from the -mm tree. Its filename was pagemap-return-map-count-not-reference-count-in-proc-kpagecount-v2-of-series.patch This patch was dropped because it was merged into mainline or a subsystem tree The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: pagemap: return map count, not reference count, in /proc/kpagecount From: "Thomas Tuttle" <ttuttle@xxxxxxxxxx> Since pagemap is all about examining pages mapped into processes' memory spaces, it makes sense for kpagecount to return the map counts, not the reference counts. Signed-off-by: Thomas Tuttle <ttuttle@xxxxxxxxxx> Cc: Matt Mackall <mpm@xxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/proc/proc_misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN fs/proc/proc_misc.c~pagemap-return-map-count-not-reference-count-in-proc-kpagecount-v2-of-series fs/proc/proc_misc.c --- a/fs/proc/proc_misc.c~pagemap-return-map-count-not-reference-count-in-proc-kpagecount-v2-of-series +++ a/fs/proc/proc_misc.c @@ -726,7 +726,7 @@ static ssize_t kpagecount_read(struct fi if (!ppage) pcount = 0; else - pcount = atomic_read(&ppage->_count); + pcount = page_mapcount(ppage); if (put_user(pcount, out++)) { ret = -EFAULT; _ Patches currently in -mm which might be from ttuttle@xxxxxxxxxx are origin.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