Skip to content

kobject: Add default group support to kobj_type and replace subsystem uses

Kimberly Brown linux-block linux-crypto lkml netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest8 patches 13 repliesIn review
  2. v11 patch 3 repliesSuperseded

Changes in v2 from the cover letter

- Patch 1 is not changed.
- Patches 2-8 are new.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8kobject: Add support for default attribute groups to kobj_typeinclude/linux/kobject.h lib/kobject.c+16 -10 replies
2/8samples/kobject: Replace foo_ktype's default_attrs field with groupssamples/kobject/kset-example.c+2 -10 replies
3/8block: Replace all ktype default_attrs with groupsblock/blk-integrity.c block/blk-mq-sysfs.c block/blk-sysfs.c+6 -83 replies
4/8net-sysfs: Replace ktype default_attrs field with groupsnet/core/net-sysfs.c+4 -20 replies
5/8irqdesc: Replace irq_kobj_type's default_attrs field with groupskernel/irq/irqdesc.c+2 -11 reply
6/8padata: Replace padata_attr_type default_attrs field with groupskernel/padata.c+2 -10 replies
7/8cpufreq: schedutil: Replace default_attrs field with groupskernel/sched/cpufreq_schedutil.c+3 -22 replies
8/8livepatch: Replace klp_ktype_patch's default_attrs with groupskernel/livepatch/core.c+2 -13 replies

Reviews trailers per patch

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

PatchRafael J. WysockiThomas GleixnerPeter Zijlstra (Intel)Jiri KosinaBart Van AsscheMiroslav BenesPetr Mladek
1/8
2/8
3/8R-b
4/8
5/8R-b
6/8
7/8Ackedy-by A-b
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 7 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/8] kobject: Add default group support to kobj_type and replace subsystem uses

This patchset adds support for default attribute groups to kobj_type. Also, the uses of kobj_type's default_attrs field are replaced with default_groups in the following subsystems:
- samples
- block
- net
- irq
- padata
- cpufreq
- livepatch

The subsystem maintainers and lists will be copied on the subsystem patches.

The uses of kobj_type's default_attrs field in the other subsystems will be replaced in future patchsets.

Changes in v2:
- Patch 1 is not changed.
- Patches 2-8 are new.

Kimberly Brown (8):
kobject: Add support for default attribute groups to kobj_type samples/kobject: Replace foo_ktype's default_attrs field with groups
block: Replace all ktype default_attrs with groups
net-sysfs: Replace ktype default_attrs field with groups
irqdesc: Replace irq_kobj_type's default_attrs field with groups
padata: Replace padata_attr_type default_attrs field with groups
cpufreq: schedutil: Replace default_attrs field with groups
livepatch: Replace klp_ktype_patch's default_attrs with groups

 block/blk-integrity.c            |  3 ++-
 block/blk-mq-sysfs.c             |  8 ++------
 block/blk-sysfs.c                |  3 ++-
 include/linux/kobject.h          |  3 ++-
 kernel/irq/irqdesc.c             |  3 ++-
 kernel/livepatch/core.c          |  3 ++-
 kernel/padata.c                  |  3 ++-
 kernel/sched/cpufreq_schedutil.c |  5 +++--
 lib/kobject.c                    | 14 ++++++++++++++
 net/core/net-sysfs.c             |  6 ++++--
 samples/kobject/kset-example.c   |  3 ++-
 11 files changed, 37 insertions(+), 17 deletions(-)
Signature · 1 line
2.17.1