vmtruncate question
The flushes which surround the second call to zap_page_range() would appear to be flushing more memory than is to be zapped. Is this correct, or should it be:
memory.c renamed from memory.c.orig +2 -2
@@ -980,9 +980,9 @@partial_clear (mpnt, start); start = (start + ~PAGE_MASK ) &PAGE_MASK ; } -flush_cache_range (mm, start, end); +flush_cache_range (mm, start, start + len);zap_page_range (mm, start, len); -flush_tlb_range (mm, start, end); +flush_tlb_range (mm, start, start + len); }while ((mpnt = mpnt->vm_next_share) !=NULL ); out_unlock:spin_unlock (&mapping->i_shared_lock);
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/
Hi,
Quoted 3 lines · Andrew Morton
The flushes which surround the second call to
zap_page_range()would appear to be flushing more memory than is to be zapped. Is this correct, or should it be:
Yes, I noticed that too: I think you're right.
--Stephen
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/
Quoted 9 lines · Stephen C. Tweedie
Hi,
Quoted 3 lines · Andrew Morton
The flushes which surround the second call to
zap_page_range()would appear to be flushing more memory than is to be zapped. Is this correct, or should it be:Yes, I noticed that too: I think you're right.
OK, thanks. I'll implement this in the changes which are part of the low-lat patch and send it off to LT tonight. If he says "no low-latency" then I'll make sure this issue isn't forgotten about. --
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/