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

Re: [PATCH 0/5] mm improvements

From: Hugh Dickins <hidden>
Date: 2004-02-04 20:54:35

On Wed, 4 Feb 2004, Andrew Morton wrote:
Hugh Dickins [off-list ref] wrote:
quoted
 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()?
I hope not, __filemap_fdatawrite still starts off with:

	if (mapping->backing_dev_info->memory_backed)
		return 0;

Once upon a time you did have vmscan.c calling ->writepages, rather
the effect that Nikita is trying for.  It was that writepages which
led me to insert the BUG_ON and give tmpfs a dummy writepages.
Later on you dropped the ->writepages from vmscan.c:
do you remember why? would be useful info for Nikita.

Hugh

--
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