Messages in this thread | | | Date | Thu, 8 Apr 2004 14:51:20 +0100 (BST) | From | Hugh Dickins <> | Subject | rmap: nonlinear truncation |
| |
If you truncate the file beneath a nonlinear vma, your anon_vma warns in __remove_from_page_cache then BUGs in page_referenced. My anonmm leaves the pages unfreeable until the vma is unmapped. pte_chains treats them as anonymous and can swap them out. None of us is right (allocating swap violates strict commit accounting). I think we need to fix nonlinear truncation properly at last, I'm looking at Daniel's invalidate_mmap_range patch from a month ago, to see if we can springboard off that.
Hugh
- 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/
| |