Messages in this thread | | | Date | Sun, 04 Nov 2001 10:59:21 -0800 | From | Andrew Morton <> | Subject | Re: 2.4.14-pre8: 'free' still reports bogus 'cached' value. |
| |
Andrew Morton wrote: > > It's a bug in the /proc code. If buffercache pages exceed > pagecache pages, `pg_size' flips negative. > > There doesn't seem to be any reason to subtract buffermem_pages > from page_cache_size - they're independent. >
Well that was crap, wasn't it? Wrong kernel.
I wonder if it's due to the fact that grow_dev_page() calls find_or_create_page(), but we increment the buffermem_pages count unconditionally, whether or not the page was newly created? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |