mbox series

[GIT,PULL] Bitmap patches for 5.17-rc1

Message ID CAAH8bW_3mVqCxebkYeY0XKBfTAjPi1dtygCBEy4GpqvyeKAPqA@mail.gmail.com (mailing list archive)
State New
Headers show
Series [GIT,PULL] Bitmap patches for 5.17-rc1 | expand

Pull-request

git://github.com/norov/linux.git/ tags/bitmap-5.17-rc1

Message

Yury Norov Jan. 15, 2022, 5:10 p.m. UTC
The following changes since commit df0cc57e057f18e44dac8e6c18aba47ab53202f9:

  Linux 5.16 (2022-01-09 14:55:34 -0800)

are available in the Git repository at:

  git://github.com/norov/linux.git/ tags/bitmap-5.17-rc1

for you to fetch changes up to 15325b4f768f2b27b5765489eeab6ec0d6b5e902:

  vsprintf: rework bitmap_list_string (2022-01-15 08:47:31 -0800)

----------------------------------------------------------------
bitmap patches for 5.17-rc1

Hi Linus, please pull these patches for bitmap. They were supposed to
be pulled in 5.16 cycle, but due to merge glitch we decided to merge them
in 5.17.

Thanks,
Yury
----------------------------------------------------------------
Yury Norov (16):
      bitops: protect find_first_{,zero}_bit properly
      bitops: move find_bit_*_le functions from le.h to find.h
      include: move find.h from asm_generic to linux
      arch: remove GENERIC_FIND_FIRST_BIT entirely
      lib: add find_first_and_bit()
      cpumask: use find_first_and_bit()
      all: replace find_next{,_zero}_bit with find_first{,_zero}_bit
where appropriate
      tools: sync tools/bitmap with mother linux
      cpumask: replace cpumask_next_* with cpumask_first_* where appropriate
      include/linux: move for_each_bit() macros from bitops.h to find.h
      find: micro-optimize for_each_{set,clear}_bit()
      Replace for_each_*_bit_from() with for_each_*_bit() where appropriate
      mm/percpu: micro-optimize pcpu_is_populated()
      bitmap: unify find_bit operations
      lib: bitmap: add performance test for bitmap_print_to_pagebuf
      vsprintf: rework bitmap_list_string

 MAINTAINERS                                                |   4 +-
 arch/alpha/include/asm/bitops.h                            |   2 -
 arch/arc/Kconfig                                           |   1 -
 arch/arc/include/asm/bitops.h                              |   1 -
 arch/arm/include/asm/bitops.h                              |   1 -
 arch/arm64/Kconfig                                         |   1 -
 arch/arm64/include/asm/bitops.h                            |   1 -
 arch/csky/include/asm/bitops.h                             |   1 -
 arch/h8300/include/asm/bitops.h                            |   1 -
 arch/hexagon/include/asm/bitops.h                          |   1 -
 arch/ia64/include/asm/bitops.h                             |   2 -
 arch/m68k/include/asm/bitops.h                             |   2 -
 arch/mips/Kconfig                                          |   1 -
 arch/mips/include/asm/bitops.h                             |   1 -
 arch/openrisc/include/asm/bitops.h                         |   1 -
 arch/parisc/include/asm/bitops.h                           |   1 -
 arch/powerpc/include/asm/bitops.h                          |   2 -
 arch/powerpc/platforms/pasemi/dma_lib.c                    |   4 +-
 arch/riscv/include/asm/bitops.h                            |   1 -
 arch/s390/Kconfig                                          |   1 -
 arch/s390/include/asm/bitops.h                             |   1 -
 arch/s390/kvm/kvm-s390.c                                   |   2 +-
 arch/sh/include/asm/bitops.h                               |   1 -
 arch/sparc/include/asm/bitops_32.h                         |   1 -
 arch/sparc/include/asm/bitops_64.h                         |   2 -
 arch/x86/Kconfig                                           |   1 -
 arch/x86/include/asm/bitops.h                              |   2 -
 arch/x86/kernel/apic/vector.c                              |   4 +-
 arch/x86/um/Kconfig                                        |   1 -
 arch/xtensa/include/asm/bitops.h                           |   1 -
 block/blk-mq.c                                             |   2 +-
 drivers/block/rnbd/rnbd-clt.c                              |   2 +-
 drivers/dma/ti/edma.c                                      |   2 +-
 drivers/gpu/drm/etnaviv/etnaviv_gpu.c                      |   4 +-
 drivers/hwmon/ltc2992.c                                    |   3 +-
 drivers/iio/adc/ad7124.c                                   |   2 +-
 drivers/infiniband/hw/irdma/hw.c                           |  16 +-
 drivers/media/cec/core/cec-core.c                          |   2 +-
 drivers/media/mc/mc-devnode.c                              |   2 +-
 drivers/mmc/host/renesas_sdhi_core.c                       |   2 +-
 drivers/net/virtio_net.c                                   |   2 +-
 drivers/pci/controller/dwc/pci-dra7xx.c                    |   2 +-
 drivers/scsi/lpfc/lpfc_sli.c                               |  10 +-
 drivers/soc/fsl/qbman/bman_portal.c                        |   2 +-
 drivers/soc/fsl/qbman/qman_portal.c                        |   2 +-
 drivers/soc/ti/k3-ringacc.c                                |   4 +-
 drivers/tty/n_tty.c                                        |   2 +-
 drivers/virt/acrn/ioreq.c                                  |   3 +-
 fs/f2fs/segment.c                                          |   8 +-
 fs/ocfs2/cluster/heartbeat.c                               |   2 +-
 fs/ocfs2/dlm/dlmdomain.c                                   |   4 +-
 fs/ocfs2/dlm/dlmmaster.c                                   |  18 +-
 fs/ocfs2/dlm/dlmrecovery.c                                 |   2 +-
 fs/ocfs2/dlm/dlmthread.c                                   |   2 +-
 include/asm-generic/bitops.h                               |   1 -
 include/asm-generic/bitops/le.h                            |  64 -------
 include/linux/bitmap.h                                     |  34 +---
 include/linux/bitops.h                                     |  34 ----
 include/linux/cpumask.h                                    |  46 ++++-
 include/linux/find.h                                       | 372
++++++++++++++++++++++++++++++++++++++
 kernel/time/clocksource.c                                  |   4 +-
 lib/Kconfig                                                |   3 -
 lib/find_bit.c                                             |  21 +++
 lib/find_bit_benchmark.c                                   |  21 +++
 lib/genalloc.c                                             |   2 +-
 lib/test_bitmap.c                                          |  37 ++++
 lib/vsprintf.c                                             |  24 +--
 mm/percpu.c                                                |  35 ++--
 net/ncsi/ncsi-manage.c                                     |   4 +-
 tools/include/asm-generic/bitops.h                         |   1 -
 tools/include/asm-generic/bitops/find.h                    | 145
---------------
 tools/include/linux/bitmap.h                               |   7 +-
 {include/asm-generic/bitops => tools/include/linux}/find.h |  54 ++++--
 tools/lib/find_bit.c                                       |  20 ++
 74 files changed, 636 insertions(+), 439 deletions(-)
 create mode 100644 include/linux/find.h
 delete mode 100644 tools/include/asm-generic/bitops/find.h
 rename {include/asm-generic/bitops => tools/include/linux}/find.h (83%)

Comments

Linus Torvalds Jan. 20, 2022, 3:53 p.m. UTC | #1
On Sat, Jan 15, 2022 at 7:10 PM Yury Norov <yury.norov@gmail.com> wrote:
>
> bitmap patches for 5.17-rc1
>
> Hi Linus, please pull these patches for bitmap. They were supposed to
> be pulled in 5.16 cycle, but due to merge glitch we decided to merge them
> in 5.17.

So I'm looking at this pull request that changes quite a bit of random
files, and some rather core headers, and I see *no* actual explanation
for what this pull request does and why I should pull it.

Only a "we didn't do it last cycle, so we should do it now". That's
not much of an argument.  If anything, it makes me go "there was
something wrong with it last time".

I can look at the commits (and I did), but that's really not how this
is all supposed to work.

When I _do_ look at the commits, one thing that stands out is how this
was all appears to be rebased after the merge window opened (just
minutes before you sent the pull request, I suspect).

Which is *also* not how things are supposed to work.

I also don't have your pgp key (not your fault - pgp key distribution
is broken because keyservers are broken) and I haven't pulled from you
before. That all just makes this pull request something where I think
it's all likely good, but there are enough problems that I haven't
actually pulled it.

Put another way: the contents do not appear _wrong_ per se, but there
are many things in this pull request that keep me from actually doing
the pull..

                   Linus
Yury Norov Jan. 21, 2022, 2:33 a.m. UTC | #2
On Thu, Jan 20, 2022 at 7:53 AM Linus Torvalds
<torvalds@linux-foundation.org> wrote:
>
> On Sat, Jan 15, 2022 at 7:10 PM Yury Norov <yury.norov@gmail.com> wrote:
> >
> > bitmap patches for 5.17-rc1
> >
> > Hi Linus, please pull these patches for bitmap. They were supposed to
> > be pulled in 5.16 cycle, but due to merge glitch we decided to merge them
> > in 5.17.
>
> So I'm looking at this pull request that changes quite a bit of random
> files, and some rather core headers, and I see *no* actual explanation
> for what this pull request does and why I should pull it.
>
> Only a "we didn't do it last cycle, so we should do it now". That's
> not much of an argument.  If anything, it makes me go "there was
> something wrong with it last time".
>
> I can look at the commits (and I did), but that's really not how this
> is all supposed to work.
>
> When I _do_ look at the commits, one thing that stands out is how this
> was all appears to be rebased after the merge window opened (just
> minutes before you sent the pull request, I suspect).
>
> Which is *also* not how things are supposed to work.
>
> I also don't have your pgp key (not your fault - pgp key distribution
> is broken because keyservers are broken) and I haven't pulled from you
> before. That all just makes this pull request something where I think
> it's all likely good, but there are enough problems that I haven't
> actually pulled it.
>
> Put another way: the contents do not appear _wrong_ per se, but there
> are many things in this pull request that keep me from actually doing
> the pull..
>
>                    Linus

My apologies - this is my first pull request ever.

This series has been sent to you by Andrew in September 8, but it was
broken and you dropped it:

https://www.spinics.net/lists/linux-mm/msg269772.html

This pull request includes 3 series' and has been sent to Andrew in this
form at Aug 14:
http://lkml.iu.edu/hypermail/linux/kernel/2108.1/07328.html

One patch from Andy Shevchenko is already upstreamed. The others
are:

bitmap: introduce for_each_set_bitrange()
https://lore.kernel.org/lkml/YPG8SdsbQ+sxjk0w@yury-ThinkPad/T/

all: use find_next_*_bit() instead of find_first_*_bit() where possible
(should read: use 'first' instead of 'next')
https://lore.kernel.org/lkml/YMVSHCY9yEocmfVD@yury-ThinkPad/T/

bitmap: unify for_each_bit() macros
https://lore.kernel.org/lkml/20210719021755.883182-1-yury.norov@gmail.com/

It spent almost 6 month in the linux-next. Would be great to finally merge it.
My PGP public key is attached.

Thanks,
Yury

-----BEGIN PGP PUBLIC KEY BLOCK-----

mQGNBGHWbSUBDADO5P610/ZZq/kHTTxtHgWAZtHqzN8QDd7TYT9W8HTIi8U04EUD
wDhtTXSvSXG8yQgY4svwY6q4ORn96G91kdT1cA8skCPvNZYx9LVUzrzsYxMc9U98
7YYu00/dFA7rEBZmMg8rWP0YON0093WFOx94z3/GTkhEN39wZDNdVxuJTtMu6Ykw
AIDhoOMD92Q6XguChfgCcHjrjlOOn1AuRE5akAmK3UuEjxosWpr1jFmSVQ0gHhrD
kIbcN9IFIVYkLkwdqwxobmW8pRlpgs7bRBRLLD0LeT3vZ/yyRzDvq0PcOeQ3B78M
ZlCgeqfhJzPGZFO02WqMV9u090NdxwJ0f5+N8ZmddW4wGFa9FMyNGKO7gsITVwvx
7MBubAvrpoPwB1eVzITDb0kjJf3eWSh5WQuGtGpv8i6ATHDTGYl8gCdvb7EkgDmg
YWeHWEy29cNEXvmuu+hV2QvB7snQL3vNo/J3V8+tgP0QraK/szsGMgPneS40+YfK
xZLqD7jFBAu5AeMAEQEAAbQhWXVyeSBOb3JvdiA8eXVyeS5ub3JvdkBnbW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3hXNkaqX1Gz/zBjc+ZfoBqEE23Tt2hSh
YbQ83gquUNiCkNhOH6JJOIWvButfenyzXNbDqu/RnAZDlcocLd3ivNJmlCVrnAsA
EQEAAYkBtgQYAQoAIBYhBIvBnbxusTIXYKbv+LFEgP06H77IBQJh1m0lAhsMAAoJ
ELFEgP06H77IFIwL/0E0HumprcozXuIUTKXeZwSBV/GNinr308FixnGFJlh/JILd
6cNS3703+Us2ITp3LEyCMB1QlSfgLL6+GYWnpZAess3bm2g2DCeA5UxuCDVuT6wY
YJWTVdY5a8mGgNpxm8WPZdW6sJoipjZyBxAtBw3rODz8QWsCEXCgB9kAcoHiRnxn
8DvOwuGWCiKDOqdeyRz7x8aHbOjYK5ZJXBhon7AvE2HcUb96A0TQySfcoSY+MNHy
AkAccWN0+xarzWs5Wmq8u4l+ofCMCVu0jZqwBRlWELBUclj5FGbxcM+QFLgwMrc6
FODbFXMgej3AD5ZEPB+1oxUDsQtDGvylKh1gslJd0wntpXTQKBnuxKgStAEPUSWr
h6ZRebhQ727NtFot17ECb3NpAxIM9lZONNaG8wYFV431gs4IZ1gQrxtzST4H97Ze
Jb0REaila/2bFtMmpvrPeE64/F9k4eGNrJfGBUj8OYGERLJ43nho4kGPMK5OfEl7
08ht3nV3xa60SBfdBQ==
=BCNg
-----END PGP PUBLIC KEY BLOCK-----
pr-tracker-bot@kernel.org Jan. 23, 2022, 6:18 a.m. UTC | #3
The pull request you sent on Sat, 15 Jan 2022 09:10:36 -0800:

> git://github.com/norov/linux.git/ tags/bitmap-5.17-rc1

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/3689f9f8b0c52dfd8f5995e4b58917f8f3ac3ee3

Thank you!