Thread (40 messages) 40 messages, 5 authors, 2004-02-09

Re: [PATCH 0/5] mm improvements

From: Andrew Morton <hidden>
Date: 2004-02-04 18:33:07

Hugh Dickins [off-list ref] wrote:
quoted
4. I found that shmem_writepage() has BUG_ON(page_mapped(page))
 > check. Its removal had no effect, and I am not sure why the check was
 > there at all.

 Sorry, that BUG_ON is there for very good reason.  It's no disgrace
 that your testing didn't notice the effect of passing a mapped page
 down to shmem_writepage, but it is a serious breakage of tmpfs.
hm.  Can't I force writepage-of-a-mapped-page with msync()?
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help