Re: [PATCH] x86: Optimize find_next_(zero_)bit for small constant-size bitmaps




* Alexander van Heukelum <heukelum@xxxxxxxxxxxxx> wrote:

+#endif /* CONFIG_GENERIC_FIND_NEXT_BIT */

there should be an #else here i think, which maps find_next_bit to
__find_next_bit / etc.

No, that is intentional: architectures are expected to either set
CONFIG_GENERIC_FIND_NEXT_BIT, or provide their own implementation of
find_next_bit.

indeed, you are right.

This version runs fine on qemu.

great - i've queued it up into x86.git.

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: [PATCH] use unlikely() for current_kernel_time() loop
    ... Does the option not also make assembly less readable on other architectures? ... (GCC documentation doesn't really say that.) ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)
  • Re: [PATCH] swiotlb: make swiotlb allocation functions architecture-specific
    ... what architectures need a special manner? ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)
  • Re: [PATCH 1/1] system call notification with self_ptrace
    ... repetitive code bits across all the architectures. ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)
  • Fwd:
    ... Practically all 32 bit architectures can use the same definitions in ... header-y += signal.h ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)
  • Re: [RFC][PATCH 3/9] actual generic PAGE_SIZE infrastructure
    ... Several architectures have some form of this, ... arm uses ULfor this and I think this is much more readable than ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)