All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <4C430830.9020903@gmail.com>

diff --git a/a/1.txt b/N1/1.txt
index 6f0298a..d1c77d4 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -41,20 +41,22 @@ index ec88ff3..5697d9e 100644
 
 -	spin_lock(&mb_cache_spinlock);
 -	list_for_each(l, &mb_cache_list) {
--		struct mb_cache *cache -			list_entry(l, struct mb_cache, c_cache_list);
+-		struct mb_cache *cache =
+-			list_entry(l, struct mb_cache, c_cache_list);
 -		mb_debug("cache %s (%d)", cache->c_name,
 -			  atomic_read(&cache->c_entry_count));
 -		count += atomic_read(&cache->c_entry_count);
 -	}
  	mb_debug("trying to free %d entries", nr_to_scan);
--	if (nr_to_scan = 0) {
+-	if (nr_to_scan == 0) {
 -		spin_unlock(&mb_cache_spinlock);
-+	if (nr_to_scan = 0)
++	if (nr_to_scan == 0)
  		goto out;
 -	}
 +
  	while (nr_to_scan-- && !list_empty(&mb_cache_lru_list)) {
- 		struct mb_cache_entry *ce  			list_entry(mb_cache_lru_list.next,
+ 		struct mb_cache_entry *ce =
+ 			list_entry(mb_cache_lru_list.next,
 @@ -229,6 +221,14 @@ mb_cache_shrink_fn(int nr_to_scan, gfp_t gfp_mask)
  						   e_lru_list), gfp_mask);
  	}
@@ -79,3 +81,9 @@ index ec88ff3..5697d9e 100644
 -- 
 Thanks and Regards,
 shenghui
+
+--
+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>
diff --git a/a/content_digest b/N1/content_digest
index 008c8ba..0e50fc5 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,12 +1,12 @@
  "From\0Wang Sheng-Hui <crosslonelyover@gmail.com>\0"
- "Subject\0[PATCH 1/2 RESEND] fix return value for mb_cache_shrink_fn when nr_to_scan\0"
- "Date\0Sun, 18 Jul 2010 13:57:04 +0000\0"
+ "Subject\0[PATCH 1/2 RESEND] fix return value for mb_cache_shrink_fn when nr_to_scan > 0\0"
+ "Date\0Sun, 18 Jul 2010 21:57:04 +0800\0"
  "To\0linux-fsdevel@vger.kernel.org"
   viro@zeniv.linux.org.uk
   linux-mm@kvack.org
   linux-ext4 <linux-ext4@vger.kernel.org>
   kernel-janitors <kernel-janitors@vger.kernel.org>
- " Christoph\0"
+ " Christoph Hel\0"
  "\00:1\0"
  "b\0"
  "Sorry to resend this patch. For the 2nd patch should\n"
@@ -52,20 +52,22 @@
  "\n"
  "-\tspin_lock(&mb_cache_spinlock);\n"
  "-\tlist_for_each(l, &mb_cache_list) {\n"
- "-\t\tstruct mb_cache *cache -\t\t\tlist_entry(l, struct mb_cache, c_cache_list);\n"
+ "-\t\tstruct mb_cache *cache =\n"
+ "-\t\t\tlist_entry(l, struct mb_cache, c_cache_list);\n"
  "-\t\tmb_debug(\"cache %s (%d)\", cache->c_name,\n"
  "-\t\t\t  atomic_read(&cache->c_entry_count));\n"
  "-\t\tcount += atomic_read(&cache->c_entry_count);\n"
  "-\t}\n"
  " \tmb_debug(\"trying to free %d entries\", nr_to_scan);\n"
- "-\tif (nr_to_scan = 0) {\n"
+ "-\tif (nr_to_scan == 0) {\n"
  "-\t\tspin_unlock(&mb_cache_spinlock);\n"
- "+\tif (nr_to_scan = 0)\n"
+ "+\tif (nr_to_scan == 0)\n"
  " \t\tgoto out;\n"
  "-\t}\n"
  "+\n"
  " \twhile (nr_to_scan-- && !list_empty(&mb_cache_lru_list)) {\n"
- " \t\tstruct mb_cache_entry *ce  \t\t\tlist_entry(mb_cache_lru_list.next,\n"
+ " \t\tstruct mb_cache_entry *ce =\n"
+ " \t\t\tlist_entry(mb_cache_lru_list.next,\n"
  "@@ -229,6 +221,14 @@ mb_cache_shrink_fn(int nr_to_scan, gfp_t gfp_mask)\n"
  " \t\t\t\t\t\t   e_lru_list), gfp_mask);\n"
  " \t}\n"
@@ -89,6 +91,12 @@
  "\n"
  "-- \n"
  "Thanks and Regards,\n"
- shenghui
+ "shenghui\n"
+ "\n"
+ "--\n"
+ "To unsubscribe, send a message with 'unsubscribe linux-mm' in\n"
+ "the body to majordomo@kvack.org.  For more info on Linux MM,\n"
+ "see: http://www.linux-mm.org/ .\n"
+ "Don't email: <a href=mailto:\"dont@kvack.org\"> email@kvack.org </a>"
 
-4c3fbaa302b914fb799140daf04847879b514dd91395a2e0aa6172d1c5b6229e
+5bccc7eed011cbae57b16b5e0b44f63cac97b2baf7e3bc62d82f150cde45c4de

diff --git a/a/1.txt b/N2/1.txt
index 6f0298a..d1c77d4 100644
--- a/a/1.txt
+++ b/N2/1.txt
@@ -41,20 +41,22 @@ index ec88ff3..5697d9e 100644
 
 -	spin_lock(&mb_cache_spinlock);
 -	list_for_each(l, &mb_cache_list) {
--		struct mb_cache *cache -			list_entry(l, struct mb_cache, c_cache_list);
+-		struct mb_cache *cache =
+-			list_entry(l, struct mb_cache, c_cache_list);
 -		mb_debug("cache %s (%d)", cache->c_name,
 -			  atomic_read(&cache->c_entry_count));
 -		count += atomic_read(&cache->c_entry_count);
 -	}
  	mb_debug("trying to free %d entries", nr_to_scan);
--	if (nr_to_scan = 0) {
+-	if (nr_to_scan == 0) {
 -		spin_unlock(&mb_cache_spinlock);
-+	if (nr_to_scan = 0)
++	if (nr_to_scan == 0)
  		goto out;
 -	}
 +
  	while (nr_to_scan-- && !list_empty(&mb_cache_lru_list)) {
- 		struct mb_cache_entry *ce  			list_entry(mb_cache_lru_list.next,
+ 		struct mb_cache_entry *ce =
+ 			list_entry(mb_cache_lru_list.next,
 @@ -229,6 +221,14 @@ mb_cache_shrink_fn(int nr_to_scan, gfp_t gfp_mask)
  						   e_lru_list), gfp_mask);
  	}
@@ -79,3 +81,9 @@ index ec88ff3..5697d9e 100644
 -- 
 Thanks and Regards,
 shenghui
+
+--
+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>
diff --git a/a/content_digest b/N2/content_digest
index 008c8ba..3f32a3e 100644
--- a/a/content_digest
+++ b/N2/content_digest
@@ -1,12 +1,13 @@
  "From\0Wang Sheng-Hui <crosslonelyover@gmail.com>\0"
- "Subject\0[PATCH 1/2 RESEND] fix return value for mb_cache_shrink_fn when nr_to_scan\0"
- "Date\0Sun, 18 Jul 2010 13:57:04 +0000\0"
+ "Subject\0[PATCH 1/2 RESEND] fix return value for mb_cache_shrink_fn when nr_to_scan > 0\0"
+ "Date\0Sun, 18 Jul 2010 21:57:04 +0800\0"
  "To\0linux-fsdevel@vger.kernel.org"
   viro@zeniv.linux.org.uk
   linux-mm@kvack.org
   linux-ext4 <linux-ext4@vger.kernel.org>
   kernel-janitors <kernel-janitors@vger.kernel.org>
- " Christoph\0"
+  Christoph Hellwig <hch@infradead.org>
+ " Eric Sandeen <sandeen@redhat.com>\0"
  "\00:1\0"
  "b\0"
  "Sorry to resend this patch. For the 2nd patch should\n"
@@ -52,20 +53,22 @@
  "\n"
  "-\tspin_lock(&mb_cache_spinlock);\n"
  "-\tlist_for_each(l, &mb_cache_list) {\n"
- "-\t\tstruct mb_cache *cache -\t\t\tlist_entry(l, struct mb_cache, c_cache_list);\n"
+ "-\t\tstruct mb_cache *cache =\n"
+ "-\t\t\tlist_entry(l, struct mb_cache, c_cache_list);\n"
  "-\t\tmb_debug(\"cache %s (%d)\", cache->c_name,\n"
  "-\t\t\t  atomic_read(&cache->c_entry_count));\n"
  "-\t\tcount += atomic_read(&cache->c_entry_count);\n"
  "-\t}\n"
  " \tmb_debug(\"trying to free %d entries\", nr_to_scan);\n"
- "-\tif (nr_to_scan = 0) {\n"
+ "-\tif (nr_to_scan == 0) {\n"
  "-\t\tspin_unlock(&mb_cache_spinlock);\n"
- "+\tif (nr_to_scan = 0)\n"
+ "+\tif (nr_to_scan == 0)\n"
  " \t\tgoto out;\n"
  "-\t}\n"
  "+\n"
  " \twhile (nr_to_scan-- && !list_empty(&mb_cache_lru_list)) {\n"
- " \t\tstruct mb_cache_entry *ce  \t\t\tlist_entry(mb_cache_lru_list.next,\n"
+ " \t\tstruct mb_cache_entry *ce =\n"
+ " \t\t\tlist_entry(mb_cache_lru_list.next,\n"
  "@@ -229,6 +221,14 @@ mb_cache_shrink_fn(int nr_to_scan, gfp_t gfp_mask)\n"
  " \t\t\t\t\t\t   e_lru_list), gfp_mask);\n"
  " \t}\n"
@@ -89,6 +92,12 @@
  "\n"
  "-- \n"
  "Thanks and Regards,\n"
- shenghui
+ "shenghui\n"
+ "\n"
+ "--\n"
+ "To unsubscribe, send a message with 'unsubscribe linux-mm' in\n"
+ "the body to majordomo@kvack.org.  For more info on Linux MM,\n"
+ "see: http://www.linux-mm.org/ .\n"
+ "Don't email: <a href=mailto:\"dont@kvack.org\"> email@kvack.org </a>"
 
-4c3fbaa302b914fb799140daf04847879b514dd91395a2e0aa6172d1c5b6229e
+0289154a6531d5d1b407449cf51c5b409c186b51e5ef6f08e8951b8ba88a14fa

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.