lkml.org 
[lkml]   [2004]   [Apr]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectrmap: 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/

\
 
 \ /
  Last update: 2005-03-22 14:02    [W:0.428 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site