diff for duplicates of <43F27E9F.9030005@jp.fujitsu.com> diff --git a/a/1.txt b/N1/1.txt index 248d7ab..65e9a4d 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,5 +1,5 @@ Yasunori Goto wrote: -> + if (system_state = SYSTEM_RUNNING){ +> + if (system_state == SYSTEM_RUNNING){ > + unsigned long queue_head_size = 1; > + while (queue_head_size < sizeof(wait_queue_head_t)) > + queue_head_size <<= 1; @@ -10,7 +10,7 @@ Yasunori Goto wrote: we have to kmalloc() wait_table after this. I don't think we always succeed to alloc multiple contiguous pages by kmalloc(). How about allocating wait_table like this ? -= +== size = 4096; /* 4096 is maximum size */ while(size) { waittable = kmalloc(size * sizeof(wait_queue_head_t), GFP_KERNEL): @@ -21,7 +21,7 @@ while(size) { zone->wait_table_size = size; zone->wait_table_bits = wait_table_bits(zone->wait_table_size); zone->wait_table = wait_table; -= +== -- Kame diff --git a/a/content_digest b/N1/content_digest index 3e03bb8..8881a42 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,8 +2,8 @@ "ref\043EDC35B.5060106@jp.fujitsu.com\0" "ref\020060214221413.ECF3.Y-GOTO@jp.fujitsu.com\0" "From\0KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>\0" - "Subject\0Re: [Lhms-devel] [RFC/PATCH: 002/010] Memory hotplug for new nodes\0" - "Date\0Wed, 15 Feb 2006 01:06:39 +0000\0" + "Subject\0Re: [Lhms-devel] [RFC/PATCH: 002/010] Memory hotplug for new nodes with pgdat allocation. (Wait table and zonelists initalization)\0" + "Date\0Wed, 15 Feb 2006 10:06:39 +0900\0" "To\0Yasunori Goto <y-goto@jp.fujitsu.com>\0" "Cc\0Dave Hansen <haveblue@us.ibm.com>" Luck @@ -18,7 +18,7 @@ "\00:1\0" "b\0" "Yasunori Goto wrote:\n" - "> +\tif (system_state = SYSTEM_RUNNING){\n" + "> +\tif (system_state == SYSTEM_RUNNING){\n" "> +\t\tunsigned long queue_head_size = 1;\n" "> +\t\twhile (queue_head_size < sizeof(wait_queue_head_t))\n" "> +\t\t queue_head_size <<= 1;\n" @@ -29,7 +29,7 @@ "we have to kmalloc() wait_table after this.\n" "I don't think we always succeed to alloc multiple contiguous pages by kmalloc().\n" "How about allocating wait_table like this ?\n" - "=\n" + "==\n" "size = 4096; /* 4096 is maximum size */\n" "while(size) {\n" "\twaittable = kmalloc(size * sizeof(wait_queue_head_t), GFP_KERNEL):\n" @@ -40,9 +40,9 @@ "zone->wait_table_size = size;\n" "zone->wait_table_bits = wait_table_bits(zone->wait_table_size);\n" "zone->wait_table = wait_table;\n" - "=\n" + "==\n" "\n" "\n" -- Kame -ec41c70ccd07252eaea2ebaa734d82d52cccfd43a804f6cb71c3b3d1e1139e60 +384e23fb823f9a4489f7dc4ec294db6e2d4b2c11d4853afe69df88461e73183f
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.