public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Florian Weimer <fweimer@redhat.com>
To: Siddhesh Poyarekar via Libc-alpha <libc-alpha@sourceware.org>
Cc: Siddhesh Poyarekar <siddhesh@sourceware.org>,  jakub@redhat.com
Subject: Re: [PATCH v2 1/2] string: _FORTIFY_SOURCE=3 using __builtin_dynamic_object_size
Date: Mon, 14 Dec 2020 16:34:44 +0100	[thread overview]
Message-ID: <87ft48bduz.fsf@oldenburg2.str.redhat.com> (raw)
In-Reply-To: <6d817d21-cddf-f270-93c1-1c603d1198af@sourceware.org> (Siddhesh Poyarekar via Libc-alpha's message of "Mon, 14 Dec 2020 20:39:24 +0530")

* Siddhesh Poyarekar via Libc-alpha:

> On 12/14/20 8:24 PM, Florian Weimer via Libc-alpha wrote:
>> * Siddhesh Poyarekar via Libc-alpha:
>> 
>>> diff --git a/NEWS b/NEWS
>>> index 0820984547..4167f34c13 100644
>>> --- a/NEWS
>>> +++ b/NEWS
>>> @@ -28,6 +28,11 @@ Major new features:
>>>     The 32-bit RISC-V port requires at least Linux 5.4, GCC 7.1 and binutils
>>>     2.28.
>>>   +* A new fortification level _FORTIFY_SOURCE=3 is available.  At
>>> this level,
>>> +  glibc may use additional checks that may be computationally expensive.  At
>>> +  present these checks are available only on LLVM 9 and later.  The latest GCC
>>> +  available at this time (10.2) does not support this level of fortification.
>> I think it's still a fixed overhead per call (i.e., not proportional
>> to
>> buffer size or stack depth).  So the performance warning is perhaps a
>> bit too strong (likewise in the manual).
>
> How about:
>
> s/be computationally expensive/have a performance overhead/ ?
>
> I agree with Jakub that it's not fixed but I also agree that there's
> scope to soften "computationally expensive".

“have an additional performance overhead”?

Thanks,
Florian
-- 
Red Hat GmbH, https://de.redhat.com/ , Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Brian Klemm, Laurie Krebs, Michael O'Neill


  reply	other threads:[~2020-12-14 15:34 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-10 18:13 [PATCH 0/2] _FORTIFY_SOURCE=3 Siddhesh Poyarekar
2020-12-10 18:13 ` [PATCH 1/2] string: _FORTIFY_SOURCE=3 using __builtin_dynamic_object_size Siddhesh Poyarekar
2020-12-10 19:10   ` Paul Eggert
2020-12-11  1:36     ` Siddhesh Poyarekar
2020-12-11  2:42       ` Paul Eggert
2020-12-14  5:23     ` [PATCH v2 " Siddhesh Poyarekar
2020-12-14 14:54       ` Florian Weimer
2020-12-14 15:02         ` Jakub Jelinek
2020-12-14 15:09         ` Siddhesh Poyarekar
2020-12-14 15:34           ` Florian Weimer [this message]
2020-12-14 15:47             ` Andreas Schwab
2020-12-14 15:52               ` Florian Weimer
2020-12-14 17:41                 ` [PATCH v3 " Siddhesh Poyarekar
2020-12-10 18:13 ` [PATCH 2/2] nonstring: " Siddhesh Poyarekar
2020-12-15 11:28   ` Florian Weimer
2020-12-15 11:33     ` Jakub Jelinek
2020-12-15 12:00       ` Siddhesh Poyarekar

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=87ft48bduz.fsf@oldenburg2.str.redhat.com \
    --to=fweimer@redhat.com \
    --cc=jakub@redhat.com \
    --cc=libc-alpha@sourceware.org \
    --cc=siddhesh@sourceware.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).