On Wed, Dec 6, 2017 at 2:44 PM, Christoph Hellwig <hch@xxxxxx> wrote: > On Tue, Dec 05, 2017 at 06:43:36PM -0800, Dan Williams wrote: >> I don't think we need this change, but perhaps the reasoning should be >> added to the code as a comment... details below. > > Hmm, looks like we are ok at least. But even if it's not a correctness > issue there is no good point in decrementing and incrementing the > reference count every time. True, we can take it once and drop it at the end when all the related page references have been taken. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>