diff for duplicates of <20050822133823.6b206d87.pj@sgi.com> diff --git a/a/1.txt b/N1/1.txt index b3dc905..f86c939 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -39,9 +39,11 @@ relative safety. Here is an untested patch that does (2): -== +===== + Index: linux-2.6.13-cpuset-mempolicy-migrate/kernel/cpuset.c -=================================--- linux-2.6.13-cpuset-mempolicy-migrate.orig/kernel/cpuset.c +=================================================================== +--- linux-2.6.13-cpuset-mempolicy-migrate.orig/kernel/cpuset.c +++ linux-2.6.13-cpuset-mempolicy-migrate/kernel/cpuset.c @@ -627,6 +627,15 @@ static int validate_change(const struct * Call with cpuset_sem held. May nest a call to the @@ -73,7 +75,8 @@ Index: linux-2.6.13-cpuset-mempolicy-migrate/kernel/cpuset.c { -== +===== + For a half-dozen easy lines of code, if we have a few hours and a chance for Dinakar and Hawkes to concur, the best solution is choice (3) above. The cpuset code that calls out to the code @@ -86,9 +89,11 @@ cpus on that node). Here is an untested patch that does this: -== +===== + Index: linux-2.6.13-cpuset-mempolicy-migrate/kernel/cpuset.c -=================================--- linux-2.6.13-cpuset-mempolicy-migrate.orig/kernel/cpuset.c +=================================================================== +--- linux-2.6.13-cpuset-mempolicy-migrate.orig/kernel/cpuset.c +++ linux-2.6.13-cpuset-mempolicy-migrate/kernel/cpuset.c @@ -636,6 +636,23 @@ static void update_cpu_domains(struct cp return; @@ -115,7 +120,8 @@ Index: linux-2.6.13-cpuset-mempolicy-migrate/kernel/cpuset.c * children */ -== +===== + I recommend this last patch above - choice (3). It provides what Dinakar intended to allow user control of sched domains, while avoiding the corner case that Hawkes reported, where a sched diff --git a/a/content_digest b/N1/content_digest index 887a0df..d81d52b 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,8 +1,8 @@ "ref\043074328.MailOXV1UXUHF@jackhammer.engr.sgi.com\0" "From\0Paul Jackson <pj@sgi.com>\0" "Subject\0Re: [PATCH] ia64 cpuset + build_sched_domains() mangles structures\0" - "Date\0Mon, 22 Aug 2005 20:38:23 +0000\0" - "To\0John Hawkes <hawkes@jackhammer.engr.sgi.com>\0" + "Date\0Mon, 22 Aug 2005 13:38:23 -0700\0" + "To\0hawkes@jackhammer.engr.sgi.com (John Hawkes)\0" "Cc\0linux-ia64@vger.kernel.org" linux-kernel@vger.kernel.org mingo@elte.hu @@ -52,9 +52,11 @@ "\n" "Here is an untested patch that does (2):\n" "\n" - "==\n" + "=====\n" + "\n" "Index: linux-2.6.13-cpuset-mempolicy-migrate/kernel/cpuset.c\n" - "=================================--- linux-2.6.13-cpuset-mempolicy-migrate.orig/kernel/cpuset.c\n" + "===================================================================\n" + "--- linux-2.6.13-cpuset-mempolicy-migrate.orig/kernel/cpuset.c\n" "+++ linux-2.6.13-cpuset-mempolicy-migrate/kernel/cpuset.c\n" "@@ -627,6 +627,15 @@ static int validate_change(const struct \n" " * Call with cpuset_sem held. May nest a call to the\n" @@ -86,7 +88,8 @@ " {\n" "\n" "\n" - "==\n" + "=====\n" + "\n" "For a half-dozen easy lines of code, if we have a few hours and\n" "a chance for Dinakar and Hawkes to concur, the best solution is\n" "choice (3) above. The cpuset code that calls out to the code\n" @@ -99,9 +102,11 @@ "\n" "Here is an untested patch that does this:\n" "\n" - "==\n" + "=====\n" + "\n" "Index: linux-2.6.13-cpuset-mempolicy-migrate/kernel/cpuset.c\n" - "=================================--- linux-2.6.13-cpuset-mempolicy-migrate.orig/kernel/cpuset.c\n" + "===================================================================\n" + "--- linux-2.6.13-cpuset-mempolicy-migrate.orig/kernel/cpuset.c\n" "+++ linux-2.6.13-cpuset-mempolicy-migrate/kernel/cpuset.c\n" "@@ -636,6 +636,23 @@ static void update_cpu_domains(struct cp\n" " \t\treturn;\n" @@ -128,7 +133,8 @@ " \t * children\n" " \t */\n" "\n" - "==\n" + "=====\n" + "\n" "I recommend this last patch above - choice (3). It provides what\n" "Dinakar intended to allow user control of sched domains, while\n" "avoiding the corner case that Hawkes reported, where a sched\n" @@ -143,4 +149,4 @@ " Programmer, Linux Scalability\n" Paul Jackson <pj@sgi.com> 1.925.600.0401 -943d9271d71b416d9bbdc61b85cc18a7c12b74cbc9689e5ec3afee6de99e0392 +8d7ca5ecbde7cce4f7160a77609fe964c02f3c0084c7d26e4f464fe88ae83b9d
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.