All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Use sbitmap instead of percpu_ida
@ 2018-06-12 19:05 ` Matthew Wilcox
  0 siblings, 0 replies; 33+ messages in thread
From: Matthew Wilcox @ 2018-06-12 19:05 UTC (permalink / raw)
  To: linux-kernel, linux-scsi, target-devel, linux1394-devel,
	linux-usb, kvm, virtualization, netdev, Juergen Gross,
	qla2xxx-upstream, Kent Overstreet, Jens Axboe
  Cc: Matthew Wilcox

Removing the percpu_ida code nets over 400 lines of removal.  It's not
as spectacular as deleting an entire architecture, but it's still a
worthy reduction in lines of code.

Untested due to lack of hardware and not understanding how to set up a
target platform.

Changes from v1:
 - Fixed bugs pointed out by Jens in iscsit_wait_for_tag()
 - Abstracted out tag freeing as requested by Bart
 - Made iscsit_wait_for_tag static as pointed out by 0day

Matthew Wilcox (3):
  target: Abstract tag freeing
  Convert target drivers to use sbitmap
  Remove percpu_ida

 drivers/scsi/qla2xxx/qla_target.c        |  14 +-
 drivers/target/iscsi/iscsi_target_util.c |  35 ++-
 drivers/target/sbp/sbp_target.c          |   7 +-
 drivers/target/target_core_transport.c   |   5 +-
 drivers/target/tcm_fc/tfc_cmd.c          |  10 +-
 drivers/usb/gadget/function/f_tcm.c      |   7 +-
 drivers/vhost/scsi.c                     |   8 +-
 drivers/xen/xen-scsiback.c               |   9 +-
 include/linux/percpu_ida.h               |  83 -----
 include/target/iscsi/iscsi_target_core.h |   1 +
 include/target/target_core_base.h        |  10 +-
 lib/Makefile                             |   2 +-
 lib/percpu_ida.c                         | 370 -----------------------
 13 files changed, 73 insertions(+), 488 deletions(-)
 delete mode 100644 include/linux/percpu_ida.h
 delete mode 100644 lib/percpu_ida.c

-- 
2.17.1

^ permalink raw reply	[flat|nested] 33+ messages in thread

end of thread, other threads:[~2018-06-19  2:27 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-12 19:05 [PATCH 0/3] Use sbitmap instead of percpu_ida Matthew Wilcox
2018-06-12 19:05 ` Matthew Wilcox
2018-06-12 19:05 ` [PATCH 1/3] target: Abstract tag freeing Matthew Wilcox
2018-06-12 19:05   ` Matthew Wilcox
2018-06-12 19:05   ` Matthew Wilcox
2018-06-12 19:05   ` [1/3] " Matthew Wilcox
2018-06-12 19:05 ` [PATCH 1/3] " Matthew Wilcox
2018-06-12 19:05 ` [PATCH 2/3] Convert target drivers to use sbitmap Matthew Wilcox
2018-06-12 19:05 ` Matthew Wilcox
2018-06-12 19:05   ` Matthew Wilcox
2018-06-12 19:05   ` Matthew Wilcox
2018-06-12 19:05   ` [2/3] " Matthew Wilcox
2018-06-12 19:05 ` [PATCH 3/3] Remove percpu_ida Matthew Wilcox
2018-06-12 19:05   ` Matthew Wilcox
2018-06-12 19:05   ` Matthew Wilcox
2018-06-12 19:05   ` [3/3] " Matthew Wilcox
2018-06-12 19:05 ` [PATCH 3/3] " Matthew Wilcox
2018-06-12 20:06 ` [PATCH 0/3] Use sbitmap instead of percpu_ida Bart Van Assche
2018-06-12 20:06   ` Bart Van Assche
2018-06-12 20:40 ` Jens Axboe
2018-06-12 20:40   ` Jens Axboe
2018-06-15  2:06 ` Martin K. Petersen
2018-06-15  2:06   ` Martin K. Petersen
2018-06-15  2:06   ` Martin K. Petersen
2018-06-15  2:37   ` Matthew Wilcox
2018-06-15  2:37     ` Matthew Wilcox
2018-06-15  2:37     ` Matthew Wilcox
2018-06-19  2:26     ` Martin K. Petersen
2018-06-19  2:26       ` Martin K. Petersen
2018-06-19  2:26       ` Martin K. Petersen
2018-06-15  7:37 ` Christoph Hellwig
2018-06-15  7:37   ` Christoph Hellwig
2018-06-15  7:37   ` Christoph Hellwig

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.