From: Li Zefan <lizf@cn.fujitsu.com>
To: Rakib Mullick <rakib.mullick@gmail.com>
Cc: pj@sgi.com, menage@google.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Removes extra checking kernel/cpuset.c
Date: Mon, 04 Aug 2008 08:58:03 +0800 [thread overview]
Message-ID: <4896541B.4020309@cn.fujitsu.com> (raw)
In-Reply-To: <b9df5fa10808020907g774a88ddj8111a5ffcbe62eb5@mail.gmail.com>
Rakib Mullick wrote:
> Hello guys, in 'update_domain_attr' function we can just return if
> couldn't update domain attribute , rather then checking dattr and
> again checking relax_domain_level of dattr , if not then return.
>
> Signed-off-by: Md.Rakib H. Mullick (rakib.mullick@gmail.com)
>
> --- linux-2.6.26-rc9.orig/kernel/cpuset.c 2008-08-01 08:38:41.000000000 +0600
> +++ linux-2.6.26-rc9/kernel/cpuset.c 2008-08-02 20:37:06.000000000 +0600
> @@ -490,8 +490,6 @@ static int cpusets_overlap(struct cpuset
> static void
> update_domain_attr(struct sched_domain_attr *dattr, struct cpuset *c)
> {
> - if (!dattr)
> - return;
The above code no longer exists in latest-git.
> if (dattr->relax_domain_level < c->relax_domain_level)
> dattr->relax_domain_level = c->relax_domain_level;
> return;
> --
next prev parent reply other threads:[~2008-08-04 0:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-02 16:07 [PATCH] Removes extra checking kernel/cpuset.c Rakib Mullick
2008-08-04 0:58 ` Li Zefan [this message]
2008-08-12 3:48 ` Paul Jackson
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=4896541B.4020309@cn.fujitsu.com \
--to=lizf@cn.fujitsu.com \
--cc=linux-kernel@vger.kernel.org \
--cc=menage@google.com \
--cc=pj@sgi.com \
--cc=rakib.mullick@gmail.com \
/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.