Thread (3 messages) 3 messages, 2 authors, 2013-12-23

Re: [PATCH v4 21/22] Add support for pmd_faults

From: Kirill A. Shutemov <hidden>
Date: 2013-12-23 18:54:33
Also in: linux-ext4, linux-fsdevel

On Mon, Dec 23, 2013 at 11:42:22AM -0700, Matthew Wilcox wrote:
quoted
Do you know anyone who relay on SIGBUS for correctness?
Oh, I remember the real reason now.  If we install a PMD that hangs off
the end of the file then by reading past i_size, we can read the blocks of
whatever happens to be in storage after the end of the file, which could
be another file's data.  This doesn't happen for the PTE case because the
existing code only works for filesystems with a block size == PAGE_SIZE.
I see. It's valid reason. Probably, it's better to add comment there.

-- 
 Kirill A. Shutemov

--
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:"dont@kvack.org"> email@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