From: Mark Gross <mgross@linux.co.intel.com>
To: Chris Friesen <cfriesen@nortelnetworks.com>
Cc: mgross@linux.co.intel.com,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] SMP signal latency fix up.
Date: 06 Nov 2003 15:35:21 -0800 [thread overview]
Message-ID: <1068161721.3555.58.camel@localhost.localdomain> (raw)
In-Reply-To: <3FAAD8AA.8060303@nortelnetworks.com>
On Thu, 2003-11-06 at 15:26, Chris Friesen wrote:
> Mark Gross wrote:
>
> > diff -urN -X dontdiff linux-2.6.0-test9/kernel/sched.c /opt/linux-2.6.0-test9/kernel/sched.c
> > --- linux-2.6.0-test9/kernel/sched.c 2003-10-25 11:44:29.000000000 -0700
> > +++ /opt/linux-2.6.0-test9/kernel/sched.c 2003-11-06 13:04:03.628116240 -0800
> > @@ -626,13 +626,13 @@
> > }
> > success = 1;
> > }
> > -#ifdef CONFIG_SMP
> > - else
> > - if (unlikely(kick) && task_running(rq, p) && (task_cpu(p) != smp_processor_id()))
> > - smp_send_reschedule(task_cpu(p));
> > -#endif
> > p->state = TASK_RUNNING;
> > }
> > +#ifdef CONFIG_SMP
> > + else
> > + if (unlikely(kick) && task_running(rq, p) && (task_cpu(p) != smp_processor_id()))
> > + smp_send_reschedule(task_cpu(p));
> > +#endif
> > task_rq_unlock(rq, &flags);
>
> Without any comment as to whether or not the patch would work, shouldn't
> the "else" be moved back by a tab?
>
You are correct.
The source file used ot build the patch "looked" correct but had some
spaces where intermixed, that didn't show up until the tabs got expanded
by the cut and paste into the mailer.
I can re-send if you like, but I have a feeling Linux and Ingo are going
to work something slightly different out. So I'll hold off.
Sorry about that.
--mgross
next prev parent reply other threads:[~2003-11-06 23:37 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-06 22:49 [PATCH] SMP signal latency fix up Mark Gross
2003-11-06 23:20 ` Linus Torvalds
2003-11-07 1:39 ` Mark Gross
2003-11-07 1:42 ` Mark Gross
2003-11-07 9:45 ` Ingo Molnar
2003-11-07 15:43 ` Mark Gross
2003-11-07 9:39 ` Ingo Molnar
2003-11-07 15:09 ` Linus Torvalds
2003-11-07 15:17 ` Ingo Molnar
2003-11-07 15:31 ` Ingo Molnar
2003-11-07 15:29 ` Ingo Molnar
2003-11-07 17:03 ` Mark Gross
2003-11-08 6:48 ` Ingo Molnar
2003-11-06 23:26 ` Chris Friesen
2003-11-06 23:35 ` Mark Gross [this message]
2003-11-07 0:55 ` Nuno Silva
2003-11-07 10:24 ` Ingo Molnar
-- strict thread matches above, loose matches on Subject: below --
2003-11-06 23:00 Mark Gross
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1068161721.3555.58.camel@localhost.localdomain \
--to=mgross@linux.co.intel.com \
--cc=cfriesen@nortelnetworks.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.