On Mon, Mar 21, 2016 at 02:22:45PM +0100, Jan Kara wrote: > The basic idea is that we use a bit in an exceptional radix tree entry as > a lock bit and use it similarly to how page lock is used for normal faults. > That way we fix races between hole instantiation and read faults of the > same index. For now I have disabled PMD faults since there the issues with > page fault locking are even worse. Now that Matthew's multi-order radix tree > has landed, I can have a look into using that for proper locking of PMD faults > but first I want normal pages sorted out. FYI, the multi-order radix tree code that landed is unusably buggy. Ross and I have been working like madmen for the past three weeks to fix all of the bugs we've found and not introduce new ones. The radix tree test suite has been enormously helpful in this regard, but we're still finding corner cases (thanks, RCU! ;-) Our current best effort can be found hiding in http://git.infradead.org/users/willy/linux-dax.git/shortlog/refs/heads/radix-fixes-2016-03-15 but it's for sure not ready for review yet. I just don't want other people trying to use the facility and wasting their time. -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html