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] [thread-next>] [day] [month] [year] [list]
Message-ID: <D6970168-2C9A-4247-AEA7-C6A7EF72A7F6@vmware.com>
Date:   Mon, 11 Sep 2023 18:40:52 +0000
From:   Nadav Amit <namit@...are.com>
To:     Qi Zheng <zhengqi.arch@...edance.com>
CC:     Andrew Morton <akpm@...ux-foundation.org>,
        "david@...morbit.com" <david@...morbit.com>,
        "tkhai@...ru" <tkhai@...ru>, "vbabka@...e.cz" <vbabka@...e.cz>,
        "roman.gushchin@...ux.dev" <roman.gushchin@...ux.dev>,
        "djwong@...nel.org" <djwong@...nel.org>,
        "brauner@...nel.org" <brauner@...nel.org>,
        "Paul E. McKenney" <paulmck@...nel.org>,
        "tytso@....edu" <tytso@....edu>,
        "steven.price@....com" <steven.price@....com>,
        "cel@...nel.org" <cel@...nel.org>,
        "senozhatsky@...omium.org" <senozhatsky@...omium.org>,
        "yujie.liu@...el.com" <yujie.liu@...el.com>,
        Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
        Muchun Song <muchun.song@...ux.dev>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        linux-mm <linux-mm@...ck.org>,
        "linux-fsdevel@...r.kernel.org" <linux-fsdevel@...r.kernel.org>,
        Muchun Song <songmuchun@...edance.com>,
        Pv-drivers <Pv-drivers@...are.com>, Arnd Bergmann <arnd@...db.de>
Subject: Re: [PATCH v6 27/45] vmw_balloon: dynamically allocate the
 vmw-balloon shrinker



> On Sep 11, 2023, at 2:44 AM, Qi Zheng <zhengqi.arch@...edance.com> wrote:
> 
> In preparation for implementing lockless slab shrink, use new APIs to
> dynamically allocate the vmw-balloon shrinker, so that it can be freed
> asynchronously via RCU. Then it doesn't need to wait for RCU read-side
> critical section when releasing the struct vmballoon.
> 
> And we can simply exit vmballoon_init() when registering the shrinker
> fails. So the shrinker_registered indication is redundant, just remove it.
> 
> Signed-off-by: Qi Zheng <zhengqi.arch@...edance.com>
> Reviewed-by: Muchun Song <songmuchun@...edance.com>
> CC: Nadav Amit <namit@...are.com>
> CC: VMware PV-Drivers Reviewers <pv-drivers@...are.com>
> CC: Arnd Bergmann <arnd@...db.de>
> CC: Greg Kroah-Hartman <gregkh@...uxfoundation.org>

Acked-by: Nadav Amit <namit@...are.com>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ