lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACT4Y+aYMKbjJ9VSUy5Hqw+zHHJyDOsVCVt+NyL+3by3NuDo1Q@mail.gmail.com>
Date:   Mon, 26 Sep 2016 17:11:26 +0200
From:   Dmitry Vyukov <dvyukov@...gle.com>
To:     Steven Rostedt <rostedt@...dmis.org>
Cc:     Ingo Molnar <mingo@...hat.com>,
        Andrew Morton <akpm@...ux-foundation.org>,
        LKML <linux-kernel@...r.kernel.org>,
        Andrey Ryabinin <ryabinin.a.a@...il.com>,
        Eugene Surovegin <surovegin@...gle.com>,
        stable <stable@...r.kernel.org>
Subject: Re: [PATCH] scripts/recordmcount.c: account for .softirqentry.text

On Mon, Sep 26, 2016 at 5:06 PM, Steven Rostedt <rostedt@...dmis.org> wrote:
> On Mon, 26 Sep 2016 11:02:36 -0400
> Steven Rostedt <rostedt@...dmis.org> wrote:
>
>> > ---
>> >  scripts/recordmcount.c | 1 +
>> >  1 file changed, 1 insertion(+)
>> >
>> > diff --git a/scripts/recordmcount.c b/scripts/recordmcount.c
>> > index 42396a7..a68f031 100644
>> > --- a/scripts/recordmcount.c
>> > +++ b/scripts/recordmcount.c
>> > @@ -363,6 +363,7 @@ is_mcounted_section_name(char const *const txtname)
>> >             strcmp(".sched.text",    txtname) == 0 ||
>> >             strcmp(".spinlock.text", txtname) == 0 ||
>> >             strcmp(".irqentry.text", txtname) == 0 ||
>> > +           strcmp(".softirqentry.text", txtname) == 0 ||
>> >             strcmp(".kprobes.text", txtname) == 0 ||
>> >             strcmp(".text.unlikely", txtname) == 0;
>> >  }
>>
>
> Oh, some archs still use recordmcount.pl. I'm guessing that needs to be
> updated too:
>
> Signed-off-by: Steven Rostedt <rostedt@...dmis.org>
> ---
> diff --git a/scripts/recordmcount.pl b/scripts/recordmcount.pl
> index 96e2486..2d48011 100755
> --- a/scripts/recordmcount.pl
> +++ b/scripts/recordmcount.pl
> @@ -134,6 +134,7 @@ my %text_sections = (
>       ".sched.text" => 1,
>       ".spinlock.text" => 1,
>       ".irqentry.text" => 1,
> +     ".softirqentry.text" => 1,
>       ".kprobes.text" => 1,
>       ".text.unlikely" => 1,
>  );


Thanks, Steven. Mailed v2 with recordmcount.pl change.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ