Re: [PATCH v3 0/9] Don't reinvent the wheel but use existing llist API

From: Byungchul Park
Date: Tue May 02 2017 - 04:04:51 EST


On Tue, Feb 14, 2017 at 04:26:21PM +0900, Byungchul Park wrote:

Hello,

I did what you suggested. Is there anything I shoud do more?
If so, please let know.

Thank you,
Byungchul

> Change from v2
> - replace for_each(wake_list) with the safe version in scheduler.
> - fix a trivial comment in llist.h
>
> Change from v1
> - split one patch to several ones, one for each subsystem.
> - replace for_each with the safe version where it's necessary.
>
> Byungchul Park (9):
> llist: Provide a safe version for llist_for_each
> bcache: Don't reinvent the wheel but use existing llist API
> raid5: Don't reinvent the wheel but use existing llist API
> vhost/scsi: Don't reinvent the wheel but use existing llist API
> fput: Don't reinvent the wheel but use existing llist API
> namespace.c: Don't reinvent the wheel but use existing llist API
> irq_work: Don't reinvent the wheel but use existing llist API
> sched: Don't reinvent the wheel but use existing llist API
> mm: Don't reinvent the wheel but use existing llist API
>
> drivers/md/bcache/closure.c | 17 +++--------------
> drivers/md/raid5.c | 6 ++----
> drivers/vhost/scsi.c | 11 +++--------
> fs/file_table.c | 12 +++++-------
> fs/namespace.c | 12 +++++-------
> include/linux/llist.h | 19 +++++++++++++++++++
> kernel/irq_work.c | 6 +-----
> kernel/sched/core.c | 13 ++-----------
> mm/vmalloc.c | 10 ++++------
> 9 files changed, 44 insertions(+), 62 deletions(-)
>
> --
> 1.9.1
>
> *** BLURB HERE ***
>
> Byungchul Park (9):
> llist: Provide a safe version for llist_for_each
> bcache: Don't reinvent the wheel but use existing llist API
> raid5: Don't reinvent the wheel but use existing llist API
> vhost/scsi: Don't reinvent the wheel but use existing llist API
> fput: Don't reinvent the wheel but use existing llist API
> namespace.c: Don't reinvent the wheel but use existing llist API
> irq_work: Don't reinvent the wheel but use existing llist API
> sched: Don't reinvent the wheel but use existing llist API
> mm: Don't reinvent the wheel but use existing llist API
>
> drivers/md/bcache/closure.c | 17 +++--------------
> drivers/md/raid5.c | 6 ++----
> drivers/vhost/scsi.c | 11 +++--------
> fs/file_table.c | 12 +++++-------
> fs/namespace.c | 12 +++++-------
> include/linux/llist.h | 19 +++++++++++++++++++
> kernel/irq_work.c | 6 +-----
> kernel/sched/core.c | 15 +++------------
> mm/vmalloc.c | 10 ++++------
> 9 files changed, 45 insertions(+), 63 deletions(-)
>
> --
> 1.9.1