From: Masahiro Yamada <yamada.masahiro@socionext.com>
To: Jan Beulich <JBeulich@suse.com>
Cc: Linux Kbuild mailing list <linux-kbuild@vger.kernel.org>,
Michal Marek <michal.lkml@markovi.net>
Subject: Re: [PATCH] kallsyms: reduce size a little on 64-bit
Date: Mon, 3 Sep 2018 02:12:25 +0900 [thread overview]
Message-ID: <CAK7LNAQZw88d08wEn=S7mVgEz86djuig6MYMgT_hWwBU5jzrCA@mail.gmail.com> (raw)
In-Reply-To: <5B8563A702000078001E2A82@prv1-mh.provo.novell.com>
Hi.
2018-08-29 0:00 GMT+09:00 Jan Beulich <JBeulich@suse.com>:
> Both kallsyms_num_syms and kallsyms_markers[] don't really need to use
> unsigned long as their (base) types; unsigned int fully suffices.
>
> Signed-off-by: Jan Beulich <jbeulich@suse.com>
> ---
> --- 4.19-rc1/scripts/kallsyms.c
> +++ 4.19-rc1-kallsyms-reduce-size/scripts/kallsyms.c
> @@ -182,6 +182,8 @@ static int symbol_in_range(struct sym_en
> for (i = 0; i < entries; ++i) {
> ar = &ranges[i];
>
> + if (!ar->end)
> + continue;
> if (s->addr >= ar->start && s->addr <= ar->end)
> return 1;
> }
What is this hunk doing?
At least, I cannot understand it from the patch description.
--
Best Regards
Masahiro Yamada
next prev parent reply other threads:[~2018-09-02 21:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-28 15:00 [PATCH] kallsyms: reduce size a little on 64-bit Jan Beulich
2018-09-02 17:12 ` Masahiro Yamada [this message]
2018-09-03 11:24 ` Jan Beulich
2018-09-03 12:09 ` [PATCH v2] " Jan Beulich
2018-09-04 0:33 ` Masahiro Yamada
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='CAK7LNAQZw88d08wEn=S7mVgEz86djuig6MYMgT_hWwBU5jzrCA@mail.gmail.com' \
--to=yamada.masahiro@socionext.com \
--cc=JBeulich@suse.com \
--cc=linux-kbuild@vger.kernel.org \
--cc=michal.lkml@markovi.net \
/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.