[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20240601140853.n4k72xbjzhtgm4sn@master>
Date: Sat, 1 Jun 2024 14:08:53 +0000
From: Wei Yang <richard.weiyang@...il.com>
To: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
Cc: akpm@...ux-foundation.org, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, Abaci Robot <abaci@...ux.alibaba.com>
Subject: Re: [PATCH] mm: userfaultfd: Use swap() in double_pt_lock()
On Fri, May 31, 2024 at 05:16:43PM +0800, Jiapeng Chong wrote:
>Use existing swap() function rather than duplicating its implementation.
>
>/mm/userfaultfd.c:1006:13-14: WARNING opportunity for swap()
>
>Reported-by: Abaci Robot <abaci@...ux.alibaba.com>
>Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=9266
>Signed-off-by: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
Reviewed-by: Wei Yang <richard.weiyang@...il.com>
--
Wei Yang
Help you, Help me
Powered by blists - more mailing lists