mbox series

[0/3] debugobjects: Add hlist_cut_number() and use it to optimize code

Message ID 20240904134152.2141-1-thunder.leizhen@huawei.com (mailing list archive)
Headers show
Series debugobjects: Add hlist_cut_number() and use it to optimize code | expand

Message

Leizhen (ThunderTown) Sept. 4, 2024, 1:41 p.m. UTC
Zhen Lei (3):
  list: add hlist_cut_number()
  list: test: Add a test for hlist_cut_number()
  debugobjects: Use hlist_cut_number() to optimize performance and
    improve readability

 include/linux/list.h |  44 +++++++++++++++++
 lib/debugobjects.c   | 115 ++++++++++++++++++-------------------------
 lib/list-test.c      |  51 +++++++++++++++++++
 3 files changed, 143 insertions(+), 67 deletions(-)