The patch titled truncate: dirty memory accounting fix has been added to the -mm tree. Its filename is truncate-dirty-memory-accounting-fix.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: truncate: dirty memory accounting fix From: Andrew Morton <akpm@xxxxxxxx> Only (un)account for IO and page-dirtying for devices which have real backing store (ie: not tmpfs or ramdisks). Cc: "David S. Miller" <davem@xxxxxxxxxxxxx> Cc: Linus Torvalds <torvalds@xxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- mm/truncate.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff -puN mm/truncate.c~truncate-dirty-memory-accounting-fix mm/truncate.c --- a/mm/truncate.c~truncate-dirty-memory-accounting-fix +++ a/mm/truncate.c @@ -60,7 +60,8 @@ void cancel_dirty_page(struct page *page WARN_ON(++warncount < 5); } - if (TestClearPageDirty(page) && account_size) { + if (TestClearPageDirty(page) && account_size && + mapping_cap_account_dirty(page->mapping)) { dec_zone_page_state(page, NR_FILE_DIRTY); task_io_account_cancelled_write(account_size); } _ Patches currently in -mm which might be from akpm@xxxxxxxx are origin.patch truncate-clear-page-dirtiness-before-running-try_to_free_buffers.patch rtc-warning-fix.patch fix-vm_events_fold_cpu-build-breakage.patch smc911-workqueue-fixes.patch schedule_timeout-improve-warning-message.patch relay-remove-inlining.patch increase-cardbus_mem_size.patch truncate-dirty-memory-accounting-fix.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