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


Groups > linux.kernel > #1732529

Re: [PATCH 1/1] irqchip/gicv3: iterate over possible CPUs by for_each_possible_cpu()

From Marc Zyngier <marc.zyngier@arm.com>
Newsgroups linux.kernel
Subject Re: [PATCH 1/1] irqchip/gicv3: iterate over possible CPUs by for_each_possible_cpu()
Date 2017-09-14 21:30 +0200
Message-ID <upHZL-GM-3@gated-at.bofh.it> (permalink)
References <upuJc-Lm-9@gated-at.bofh.it>
Organization ARM Ltd

Show all headers | View raw


On Thu, Sep 14 2017 at  1:15:14 pm BST, zijun_hu <zijun_hu@zoho.com> wrote:
> From: zijun_hu <zijun_hu@htc.com>
>
> get_cpu_number() doesn't use existing helper to iterate over possible
> CPUs, so error happens in case of discontinuous @cpu_possible_mask
> such as 0b11110001.

Do you have an example of such a situation? Your patch is definitely an
improvement, but I'd like to understand how you get there...

Thanks,

	M.
-- 
Jazz is not dead. It just smells funny.

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


Thread

[PATCH 1/1] irqchip/gicv3: iterate over possible CPUs by  for_each_possible_cpu() zijun_hu <zijun_hu@zoho.com> - 2017-09-14 07:20 +0200
  Re: [PATCH 1/1] irqchip/gicv3: iterate over possible CPUs by for_each_possible_cpu() Marc Zyngier <marc.zyngier@arm.com> - 2017-09-14 21:30 +0200
    Re: [PATCH 1/1] irqchip/gicv3: iterate over possible CPUs by  for_each_possible_cpu() zijun_hu <zijun_hu@zoho.com> - 2017-09-15 05:10 +0200
      Re: [PATCH 1/1] irqchip/gicv3: iterate over possible CPUs by for_each_possible_cpu() Marc Zyngier <marc.zyngier@arm.com> - 2017-09-15 16:50 +0200

csiph-web