All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <416392BF.1020708@jp.fujitsu.com>

diff --git a/a/1.txt b/N1/1.txt
index b6fada9..39f8ffd 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -51,8 +51,8 @@ diff -puN /dev/null include/linux/pfn_valid.h
 +
 +#define PFN_ALL_INVALID 0xffff
 +#define PFN_ALL_VALID   0xfffe
-+#define pfn_all_valid(ent)   ((ent)->valid = PFN_ALL_VALID)
-+#define pfn_all_invalid(ent) ((ent)->valid = PFN_ALL_INVALID)
++#define pfn_all_valid(ent)   ((ent)->valid == PFN_ALL_VALID)
++#define pfn_all_invalid(ent) ((ent)->valid == PFN_ALL_INVALID)
 +
 +#ifndef PFN_VALID_MAPSHIFT
 +#define PFN_VALID_MAPSHIFT 16
@@ -174,13 +174,14 @@ diff -puN mm/page_alloc.c~careful_pfn_valid mm/page_alloc.c
 +	/* we must find and coalesce overlapped entries */
 +	pos = pfn_valid_info_head.next;
 +	while (pos != &pfn_valid_info_head) {
-+		if (pos->next = &pfn_valid_info_head)
++		if (pos->next == &pfn_valid_info_head)
 +			break;
 +		ent = list_entry(pos, struct pfn_valid_info_list,list);
 +		next = list_entry(pos->next, struct pfn_valid_info_list, list);
 +		if ((ent->info.start_pfn <= next->info.start_pfn) &&
 +		    (ent->info.end_pfn >= next->info.start_pfn)) {
-+			ent->info.end_pfn +				(ent->info.end_pfn > next->info.end_pfn)?
++			ent->info.end_pfn =
++				(ent->info.end_pfn > next->info.end_pfn)?
 +				ent->info.end_pfn : next->info.end_pfn;
 +			list_del(pos->next);
 +			free_pfn_valid_info_list(next);
@@ -294,3 +295,9 @@ diff -puN include/linux/mm.h~careful_pfn_valid include/linux/mm.h
   * The idea being to have a "virtual" mm in the same way
 
 _
+
+--
+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:"aart@kvack.org"> aart@kvack.org </a>
diff --git a/a/content_digest b/N1/content_digest
index 829cd6e..140430c 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,7 +1,6 @@
- "ref\041638EC8.9090901@jp.fujitsu.com\0"
  "From\0Hiroyuki KAMEZAWA <kamezawa.hiroyu@jp.fujitsu.com>\0"
  "Subject\0[RFC/PATCH]  pfn_valid() more generic : arch independent part[0/2]\0"
- "Date\0Wed, 06 Oct 2004 06:37:51 +0000\0"
+ "Date\0Wed, 06 Oct 2004 15:37:51 +0900\0"
  "To\0LinuxIA64 <linux-ia64@vger.kernel.org>\0"
  "Cc\0linux-mm <linux-mm@kvack.org>\0"
  "\00:1\0"
@@ -59,8 +58,8 @@
  "+\n"
  "+#define PFN_ALL_INVALID 0xffff\n"
  "+#define PFN_ALL_VALID   0xfffe\n"
- "+#define pfn_all_valid(ent)   ((ent)->valid = PFN_ALL_VALID)\n"
- "+#define pfn_all_invalid(ent) ((ent)->valid = PFN_ALL_INVALID)\n"
+ "+#define pfn_all_valid(ent)   ((ent)->valid == PFN_ALL_VALID)\n"
+ "+#define pfn_all_invalid(ent) ((ent)->valid == PFN_ALL_INVALID)\n"
  "+\n"
  "+#ifndef PFN_VALID_MAPSHIFT\n"
  "+#define PFN_VALID_MAPSHIFT 16\n"
@@ -182,13 +181,14 @@
  "+\t/* we must find and coalesce overlapped entries */\n"
  "+\tpos = pfn_valid_info_head.next;\n"
  "+\twhile (pos != &pfn_valid_info_head) {\n"
- "+\t\tif (pos->next = &pfn_valid_info_head)\n"
+ "+\t\tif (pos->next == &pfn_valid_info_head)\n"
  "+\t\t\tbreak;\n"
  "+\t\tent = list_entry(pos, struct pfn_valid_info_list,list);\n"
  "+\t\tnext = list_entry(pos->next, struct pfn_valid_info_list, list);\n"
  "+\t\tif ((ent->info.start_pfn <= next->info.start_pfn) &&\n"
  "+\t\t    (ent->info.end_pfn >= next->info.start_pfn)) {\n"
- "+\t\t\tent->info.end_pfn +\t\t\t\t(ent->info.end_pfn > next->info.end_pfn)?\n"
+ "+\t\t\tent->info.end_pfn =\n"
+ "+\t\t\t\t(ent->info.end_pfn > next->info.end_pfn)?\n"
  "+\t\t\t\tent->info.end_pfn : next->info.end_pfn;\n"
  "+\t\t\tlist_del(pos->next);\n"
  "+\t\t\tfree_pfn_valid_info_list(next);\n"
@@ -301,6 +301,12 @@
  "  * Linux kernel virtual memory manager primitives.\n"
  "  * The idea being to have a \"virtual\" mm in the same way\n"
  "\n"
- _
+ "_\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:\"aart@kvack.org\"> aart@kvack.org </a>"
 
-42f686a55e1ba5e720f711cda92ce6a6cc7e1d41cac074708a70740b88aabef1
+f649a08e3e33adcf26d466a858c975ae2f35bf3404da279c9407e654f01d3871

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.