lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Wed, 15 Sep 2021 13:40:28 +0300
From:   "Kirill A. Shutemov" <kirill@...temov.name>
To:     Amit Daniel Kachhap <amit.kachhap@....com>
Cc:     linux-mm@...ck.org, linux-kernel@...r.kernel.org,
        Vincenzo Frascino <Vincenzo.Frascino@....com>,
        Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH] mm/memory: Avoid unnecessary kernel/user pointer
 conversion

On Tue, Sep 14, 2021 at 08:38:20PM +0530, Amit Daniel Kachhap wrote:
> Annotating a pointer from __user to kernel and then back again might
> confuse sparse. In copy_huge_page_from_user() it can be avoided by
> removing the intermediate variable since it is never used.
> 
> Cc: Andrew Morton <akpm@...ux-foundation.org>
> Signed-off-by: Amit Daniel Kachhap <amit.kachhap@....com>

Acked-by: Kirill A. Shutemov <kirill.shutemov@...ux.intel.com>

-- 
 Kirill A. Shutemov

Powered by blists - more mailing lists