[folded-merged] radix-treeshmem-introduce-radix_tree_iter_next-fix.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: radix-tree: fix bug in radix_tree_iter_next() for tagged iteration
has been removed from the -mm tree.  Its filename was
     radix-treeshmem-introduce-radix_tree_iter_next-fix.patch

This patch was dropped because it was folded into radix-treeshmem-introduce-radix_tree_iter_next.patch

------------------------------------------------------
From: Konstantin Khlebnikov <koct9i@xxxxxxxxx>
Subject: radix-tree: fix bug in radix_tree_iter_next() for tagged iteration

Helper radix_tree_iter_next reset slot to NULL and next_index to index +
1, for tagger iteraction it also must reset cached tags in iterator to
abort next radix_tree_next_slot and go to slow-path into
radix_tree_next_chunk.

Signed-off-by: Konstantin Khlebnikov <koct9i@xxxxxxxxx>
Cc: Matthew Wilcox <willy@xxxxxxxxxxxxxxx>
Cc: Hugh Dickins <hughd@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 include/linux/radix-tree.h |    1 +
 1 file changed, 1 insertion(+)

diff -puN include/linux/radix-tree.h~radix-treeshmem-introduce-radix_tree_iter_next-fix include/linux/radix-tree.h
--- a/include/linux/radix-tree.h~radix-treeshmem-introduce-radix_tree_iter_next-fix
+++ a/include/linux/radix-tree.h
@@ -414,6 +414,7 @@ static inline __must_check
 void **radix_tree_iter_next(struct radix_tree_iter *iter)
 {
 	iter->next_index = iter->index + 1;
+	iter->tags = 0;
 	return NULL;
 }
 
_

Patches currently in -mm which might be from koct9i@xxxxxxxxx are

tools-vm-page-typesc-add-memory-cgroup-dumping-and-filtering.patch
radix-treeshmem-introduce-radix_tree_iter_next.patch
radix-tree-tests-add-regression3-test.patch
radix-tree-tests-add-test-for-radix_tree_iter_next.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux