From: Rao Shoaib <rao.shoaib@oracle.com>
To: David Miller <davem@davemloft.net>
Cc: netdev@vger.kernel.org, eric.dumazet@gmail.com
Subject: Re: Use of Indirect function calls
Date: Tue, 6 Mar 2018 21:53:19 -0800 [thread overview]
Message-ID: <997251f8-b012-b714-a906-653984d56b30@oracle.com> (raw)
In-Reply-To: <20180306.234340.1356364932905326057.davem@davemloft.net>
David,
Thanks a lot for your prompt response. Do you have a specific solution
in mind or will the calls be replaced with simple checks ?
Also while I have your attention can I ask your opinion about breaking
up some TCP functions, mostly control functions into smaller units so
that if a little different behavior is desired it can be achieved and
common code could still be shared. Of course you can not say much
without looking at the code but will you even entertain such a change ?
Regards,
Rao.
On 03/06/2018 08:43 PM, David Miller wrote:
> From: Rao Shoaib <rao.shoaib@oracle.com>
> Date: Tue, 6 Mar 2018 19:35:46 -0800
>
>> I do not expect any measurable overhead as modern CPU's use
>> pre-fetching and multiple parallel execution engines.
> Please see Spectre and retpolines, all of this parallel execution and
> prefetching is essentially disabled to address those vulnerabilities
> and side-channel exploits.
>
> Indirect calls are terrible and we are now looking at ways in which
> we can remove them from as many parts of the networking as possible.
next prev parent reply other threads:[~2018-03-07 5:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-07 3:35 Use of Indirect function calls Rao Shoaib
2018-03-07 4:43 ` David Miller
2018-03-07 5:53 ` Rao Shoaib [this message]
2018-03-07 6:32 ` Eric Dumazet
2018-03-07 7:23 ` Rao Shoaib
2018-03-07 15:06 ` David Miller
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=997251f8-b012-b714-a906-653984d56b30@oracle.com \
--to=rao.shoaib@oracle.com \
--cc=davem@davemloft.net \
--cc=eric.dumazet@gmail.com \
--cc=netdev@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