On Mon, Jun 10, 2019 at 12:19:29PM -0500, Josh Poimboeuf wrote:
> On Fri, Jun 07, 2019 at 10:37:56AM +0200, Peter Zijlstra wrote:
> > > > +}
> > > > +
> > > > +static int static_call_module_notify(struct notifier_block *nb,
> > > > +unsigned long val, void *data)
On Mon, Jun 10, 2019 at 06:33:26PM +, Nadav Amit wrote:
> > On Jun 10, 2019, at 10:19 AM, Josh Poimboeuf wrote:
> >
> > On Fri, Jun 07, 2019 at 10:37:56AM +0200, Peter Zijlstra wrote:
> +}
> +
> +static int static_call_module_notify(struct notifier_block *nb,
> +
> On Jun 10, 2019, at 10:19 AM, Josh Poimboeuf wrote:
>
> On Fri, Jun 07, 2019 at 10:37:56AM +0200, Peter Zijlstra wrote:
+}
+
+static int static_call_module_notify(struct notifier_block *nb,
+ unsigned long val, void *data)
+{
+ struct
On Fri, Jun 07, 2019 at 10:37:56AM +0200, Peter Zijlstra wrote:
> > > +}
> > > +
> > > +static int static_call_module_notify(struct notifier_block *nb,
> > > + unsigned long val, void *data)
> > > +{
> > > + struct module *mod = data;
> > > + int ret = 0;
> > > +
> > >
On Fri, Jun 07, 2019 at 04:35:42PM +, Nadav Amit wrote:
> > On Jun 7, 2019, at 1:37 AM, Peter Zijlstra wrote:
> > On Thu, Jun 06, 2019 at 10:24:17PM +, Nadav Amit wrote:
> >>> + if (ret) {
> >>> + WARN(1, "Failed to allocate memory for static calls");
> >>> +
> On Jun 7, 2019, at 1:37 AM, Peter Zijlstra wrote:
>
> On Thu, Jun 06, 2019 at 10:24:17PM +, Nadav Amit wrote:
>
>>> +static void static_call_del_module(struct module *mod)
>>> +{
>>> + struct static_call_site *start = mod->static_call_sites;
>>> + struct static_call_site *stop = mod->s
On Thu, Jun 06, 2019 at 10:24:17PM +, Nadav Amit wrote:
> > +static void static_call_del_module(struct module *mod)
> > +{
> > + struct static_call_site *start = mod->static_call_sites;
> > + struct static_call_site *stop = mod->static_call_sites +
> > + m
> On Jun 5, 2019, at 6:08 AM, Peter Zijlstra wrote:
>
> From: Josh Poimboeuf
>
> Add infrastructure for an arch-specific CONFIG_HAVE_STATIC_CALL_INLINE
> option, which is a faster version of CONFIG_HAVE_STATIC_CALL. At
> runtime, the static call sites are patched directly, rather than using
>
From: Josh Poimboeuf
Add infrastructure for an arch-specific CONFIG_HAVE_STATIC_CALL_INLINE
option, which is a faster version of CONFIG_HAVE_STATIC_CALL. At
runtime, the static call sites are patched directly, rather than using
the out-of-line trampolines.
Compared to out-of-line static calls,
9 matches
Mail list logo