diff for duplicates of <41638EC8.9090901@jp.fujitsu.com> diff --git a/a/1.txt b/N1/1.txt index 514f338..cac5a7c 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -5,14 +5,14 @@ is available or not. I think this is an irregular implementation and following p are a more generic replacement, careful_pfn_valid(). It uses 2 level table. Core Algorithm -== +==== 1st level, pfn_validmap[] has index to 2nd level table. 2nd level table is consists of (start, end) entries of valid pfns. careful_pfn_valid(pfn) - -> pfn_validmap[(pfn >> PFN_VALID_MAPSHIFT)] = entry - if (entry = ALL_VALID) return 1 - if (entry = ALL_INVALID) return 0 + -> pfn_validmap[(pfn >> PFN_VALID_MAPSHIFT)] == entry + if (entry == ALL_VALID) return 1 + if (entry == ALL_INVALID) return 0 -> check 2nd level, info = pfn_valid_info_table + entry. @@ -22,10 +22,10 @@ careful_pfn_valid(pfn) info++; } return 1; -== +==== sizeof(entry) is 2 bytes and each entry covers 1GB with current config(16k pages). -Here is kernbench results on my Tiger4 (Itanium2(1.3GHz) x2, 8 Gbytes memory),pagesize\x16k +Here is kernbench results on my Tiger4 (Itanium2(1.3GHz) x2, 8 Gbytes memory),pagesize=16k Average Optimal -j8 Load Run: Elapsed Time User Time System Time Percent CPU C/Switch Sleeps @@ -38,3 +38,9 @@ For NUMA, I think tables for careful_pfn_valid() should be copied to each node's but I haven't implemented it yet. -- Kame <kamezawa.hiroyu@jp.fujitsu.com> + +-- +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 16317d8..7d54a66 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Hiroyuki KAMEZAWA <kamezawa.hiroyu@jp.fujitsu.com>\0" "Subject\0[RFC/PATCH] pfn_valid() more generic : intro[0/2]\0" - "Date\0Wed, 06 Oct 2004 06:20:56 +0000\0" + "Date\0Wed, 06 Oct 2004 15:20:56 +0900\0" "To\0LinuxIA64 <linux-ia64@vger.kernel.org>\0" "Cc\0linux-mm <linux-mm@kvack.org>\0" "\00:1\0" @@ -12,14 +12,14 @@ "are a more generic replacement, careful_pfn_valid(). It uses 2 level table.\n" "\n" "Core Algorithm\n" - "==\n" + "====\n" "1st level, pfn_validmap[] has index to 2nd level table.\n" "2nd level table is consists of (start, end) entries of valid pfns.\n" "\n" "careful_pfn_valid(pfn)\n" - " -> pfn_validmap[(pfn >> PFN_VALID_MAPSHIFT)] = entry\n" - " if (entry = ALL_VALID) return 1\n" - " if (entry = ALL_INVALID) return 0\n" + " -> pfn_validmap[(pfn >> PFN_VALID_MAPSHIFT)] == entry\n" + " if (entry == ALL_VALID) return 1\n" + " if (entry == ALL_INVALID) return 0\n" "\n" " -> check 2nd level,\n" " info = pfn_valid_info_table + entry.\n" @@ -29,10 +29,10 @@ " info++;\n" " }\n" " return 1;\n" - "==\n" + "====\n" "sizeof(entry) is 2 bytes and each entry covers 1GB with current config(16k pages).\n" "\n" - "Here is kernbench results on my Tiger4 (Itanium2(1.3GHz) x2, 8 Gbytes memory),pagesize\026k\n" + "Here is kernbench results on my Tiger4 (Itanium2(1.3GHz) x2, 8 Gbytes memory),pagesize=16k\n" "\n" "Average Optimal -j8 Load Run:\n" " Elapsed Time User Time System Time Percent CPU C/Switch Sleeps\n" @@ -44,6 +44,12 @@ "For NUMA, I think tables for careful_pfn_valid() should be copied to each node's local memory,\n" "but I haven't implemented it yet.\n" "\n" - -- Kame <kamezawa.hiroyu@jp.fujitsu.com> + "-- Kame <kamezawa.hiroyu@jp.fujitsu.com>\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>" -04b5ab68127617b5277e9fbf438b9bf5a57f72e9a523b7be81c65f130554564f +02dd5c0f05f5c8e32bb2ffb78f7ea98580a7bac67d46f7b25789a47ae007d1c9
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.