From: Peter Oberparleiter <oberpar@linux.ibm.com>
To: Johannes Berg <johannes@sipsolutions.net>, linux-kernel@vger.kernel.org
Cc: Andrew Morton <akpm@linux-foundation.org>,
Johannes Berg <johannes.berg@intel.com>
Subject: Re: [PATCH 1/3] gcov: combine common code
Date: Fri, 19 Mar 2021 18:25:22 +0100 [thread overview]
Message-ID: <816c7845-2ba5-2af2-6632-842f8d207633@linux.ibm.com> (raw)
In-Reply-To: <20210315235453.e3fbb86e99a0.I08a3ee6dbe47ea3e8024956083f162884a958e40@changeid>
On 15.03.2021 23:54, Johannes Berg wrote:
> From: Johannes Berg <johannes.berg@intel.com>
>
> There's a lot of duplicated code between gcc and clang
> implementations, move it over to fs.c to simplify the
> code, there's no reason to believe that for small data
> like this one would not just implement the simple
> convert_to_gcda() function.
>
> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
I successfully tested this patch set using GCC on s390, but had some
problems using Clang with gcov-kernel (which seem unrelated to this
patch set - still to be investigated).
The removal of duplicated code definitively makes sense and this
approach looks like it will help make the build-time test I have in mind
for gcov-kernel easier to implement.
As such, for all 3 patches (not sure if it makes a difference seeing
that this has already landed in linux-next):
Acked-by: Peter Oberparleiter <oberpar@linux.ibm.com>
Regards,
Peter
--
Peter Oberparleiter
Linux on Z Development - IBM Germany
prev parent reply other threads:[~2021-03-19 17:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-15 22:54 Johannes Berg
2021-03-15 22:54 ` [PATCH 2/3] gcov: simplify buffer allocation Johannes Berg
2021-03-15 22:54 ` [PATCH 3/3] gcov: use kvmalloc() Johannes Berg
2021-03-19 17:25 ` Peter Oberparleiter [this message]
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=816c7845-2ba5-2af2-6632-842f8d207633@linux.ibm.com \
--to=oberpar@linux.ibm.com \
--cc=akpm@linux-foundation.org \
--cc=johannes.berg@intel.com \
--cc=johannes@sipsolutions.net \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®