]> git.baikalelectronics.ru Git - kernel.git/commit
mm/zsmalloc.c: rework the list_add code in insert_zspage()
authorMiaohe Lin <linmiaohe@huawei.com>
Tue, 15 Dec 2020 03:14:22 +0000 (19:14 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 15 Dec 2020 20:13:46 +0000 (12:13 -0800)
commitd6294c3be1937725255856bb191f42b0a540ec2e
tree9b5ba95f7803a1901c8ab1e6e7280e2a02d1c8d8
parent53f7ebb124e67c255ced7b4520e160c748dc7c8e
mm/zsmalloc.c: rework the list_add code in insert_zspage()

Rework the list_add code to make it more readable and simple.

Link: https://lkml.kernel.org/r/20201015130107.65195-1-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Acked-by: Minchan Kim <minchan@kernel.org>
Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/zsmalloc.c