Re: [PATCH 1/2] list: introduce list_bulk_move_tail helper

2018-09-14 Thread Huang Rui
On Thu, Sep 13, 2018 at 01:22:07PM +0200, Christian König wrote: > Move all entries between @first and including @last before @head. > > This is useful for LRU lists where a whole block of entries should be > moved to the end of an list. > > Signed-off-by: Christian König Bulk move helper is

[PATCH 1/2] list: introduce list_bulk_move_tail helper

2018-09-13 Thread Christian König
Move all entries between @first and including @last before @head. This is useful for LRU lists where a whole block of entries should be moved to the end of an list. Signed-off-by: Christian König --- include/linux/list.h | 23 +++ 1 file changed, 23 insertions(+) diff