Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1446677

Re: [PATCH -next] mm/slab: use list_move instead of list_del/list_add

From David Rientjes <rientjes@google.com>
Newsgroups linux.kernel
Subject Re: [PATCH -next] mm/slab: use list_move instead of list_del/list_add
Date 2016-07-19 21:10 +0200
Message-ID <rWIz0-7UN-5@gated-at.bofh.it> (permalink)
References <rWC0y-3PW-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, 19 Jul 2016, Wei Yongjun wrote:

> From: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
> 
> Using list_move() instead of list_del() + list_add().
> 

... to prevent needlessly poisoning the next and prev values.

> Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>

Acked-by: David Rientjes <rientjes@google.com>

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH -next] mm/slab: use list_move instead of list_del/list_add Wei Yongjun <weiyj_lk@163.com> - 2016-07-19 14:10 +0200
  Re: [PATCH -next] mm/slab: use list_move instead of  list_del/list_add David Rientjes <rientjes@google.com> - 2016-07-19 21:10 +0200
  Re: [PATCH -next] mm/slab: use list_move instead of  list_del/list_add Christoph Lameter <cl@linux.com> - 2016-07-20 02:50 +0200

csiph-web