Skip to content

list.h related cleanups

Akinobu Mita dm-devel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8introduce hlist_move_head()include/linux/list.h+5 -00 replies
2/8use hlist_move_head()fs/nfsd/nfscache.c kernel/kprobes.c net/core/dev.c +6 more+16 -322 replies
3/8use list_add_tail() instead of list_add()drivers/isdn/capi/capi.c fs/coda/psdev.c fs/coda/upcall.c +4 more+9 -94 replies
4/8arch: use list_move()arch/i386/pci/pcbios.c arch/m68k/mm/memory.c arch/m68k/sun3/sun3dvma.c +1 more+8 -160 replies
5/8core: use list_move()drivers/base/power/resume.c drivers/base/power/suspend.c fs/dcache.c +5 more+22 -380 replies
6/8net/rxrpc: use list_move()net/rxrpc/call.c net/rxrpc/connection.c net/rxrpc/krxsecd.c+3 -61 reply
7/8drivers: use list_move()drivers/char/ipmi/ipmi_msghandler.c drivers/ieee1394/eth1394.c drivers/ieee1394/raw1394.c +12 more+32 -561 reply
8/8fs: use list_move()fs/afs/cell.c fs/afs/kafsasyncd.c fs/afs/server.c +19 more+38 -765 replies

Reviews trailers per patch

3 of 8 patches have a Reviewed-by or Acked-by.

PatchKarsten KeilJan KaraDavid HowellsJoel BeckerMark Fasheh
1/8
2/8
3/8A-b A-b
4/8
5/8
6/8A-b
7/8
8/8A-b A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.

Read the v1 thread

Cover letter [patch 0/8] list.h related cleanups

This patch set does:

- Introduce hlist_add_head() and use it
- Use list_add_tail() instead of list_add(A, B.prev)
- Use list_move() instead of the combination of list_del() and list_add()

for readability and micro optimization.
--