Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1672804

Re: [PATCH 3/3] irq: Compute the periodic interval for interrupts

From Daniel Lezcano <daniel.lezcano@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH 3/3] irq: Compute the periodic interval for interrupts
Date 2017-06-22 18:40 +0200
Message-ID <tVdjb-7eo-3@gated-at.bofh.it> (permalink)
References <tUySK-5tS-13@gated-at.bofh.it> <tUz2p-5x0-9@gated-at.bofh.it> <tUz2q-5x0-31@gated-at.bofh.it> <tVcds-6yx-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Jun 22, 2017 at 05:25:56PM +0200, Thomas Gleixner wrote:

[ ... ]

> > +	ret = irq_timings_alloc(irq);
> > +	if (ret) {
> > +		pr_warn("Failed to allocate irq timing stats for irq%d (%d)",
> > +			irq, ret);
> 
> That error code is -ENOMEM always, right?

No, it could be also the value returned by idr_alloc() which could be EINVAL or
ENOSPC (which are values returned also by the low level libraries radix-tree
functions).

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[GIT PULL V11] irq: next irq tracking Daniel Lezcano <daniel.lezcano@linaro.org> - 2017-06-20 23:30 +0200
  [PATCH 1/3] irq: Allow to pass the IRQF_TIMER flag with percpu irq request Daniel Lezcano <daniel.lezcano@linaro.org> - 2017-06-20 23:40 +0200
    [PATCH 2/3] irq: Track the interrupt timings Daniel Lezcano <daniel.lezcano@linaro.org> - 2017-06-20 23:40 +0200
      Re: [PATCH 2/3] irq: Track the interrupt timings Thomas Gleixner <tglx@linutronix.de> - 2017-06-22 16:50 +0200
        Re: [PATCH 2/3] irq: Track the interrupt timings Daniel Lezcano <daniel.lezcano@linaro.org> - 2017-06-22 17:00 +0200
    [PATCH 3/3] irq: Compute the periodic interval for interrupts Daniel Lezcano <daniel.lezcano@linaro.org> - 2017-06-20 23:40 +0200
      Re: [PATCH 3/3] irq: Compute the periodic interval for interrupts Thomas Gleixner <tglx@linutronix.de> - 2017-06-22 17:30 +0200
        Re: [PATCH 3/3] irq: Compute the periodic interval for interrupts Daniel Lezcano <daniel.lezcano@linaro.org> - 2017-06-22 18:40 +0200
    Re: [PATCH 1/3] irq: Allow to pass the IRQF_TIMER flag with percpu  irq request Mark Rutland <mark.rutland@arm.com> - 2017-06-22 11:40 +0200
      Re: [PATCH 1/3] irq: Allow to pass the IRQF_TIMER flag with percpu  irq request Daniel Lezcano <daniel.lezcano@linaro.org> - 2017-06-22 12:40 +0200
  Re: [GIT PULL V11] irq: next irq tracking Thomas Gleixner <tglx@linutronix.de> - 2017-06-21 00:10 +0200
    Re: [GIT PULL V11] irq: next irq tracking Daniel Lezcano <daniel.lezcano@linaro.org> - 2017-06-21 13:00 +0200

csiph-web