From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NO_DNS_FOR_FROM,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 Received: from mail-lf1-f53.google.com (mail-lf1-f53.google.com [209.85.167.53]) by gnuweeb.org (Postfix) with ESMTPSA id 07C9A81161 for ; Wed, 19 Oct 2022 22:57:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1666220220; bh=6aIDprv3LL+/CgxwL5ewwoYb2L2ibrVvFOwikXIM7U0=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=Dw6hq8hC4UOeGnMcOmjLZFye7P7yLpKJ7rsw2KvTSid6xd5f50g5CECkd+qcrsJxE cpPxN7XsAuwDoXbX7hiBcs/tw/ykHLcO6dgwrwTnfTPEaa6zxJyc3q4l+P/mJVuXWO e4v59CZcFjke6acGF/+JGWCJw81ITf9KbNMEVbM+isR4nVdUntHyiUzNvHNWpYTpQs 0pOPfd1pAZyBArME9ZDSrSl4BemQ+Lx/QhsHD/AlPwU5WQgMWr6sa9hNKbuZW6AHAU wwujxRhHn+HejKPw3veV05xQUcX7Ou7cLZzoO/Oefe/bV3085waEQl2mi85MkDYF4e DRBfkIb+CUFUA== Received: by mail-lf1-f53.google.com with SMTP id bu25so30655023lfb.3 for ; Wed, 19 Oct 2022 15:56:59 -0700 (PDT) X-Gm-Message-State: ACrzQf3CxeTt2ixKoCmW6uxEFQXCqIsmWjwNzlZAytMNeYNIZ18yxKBz yI/itNSKMgO7DTEq6i2TEZjUGSofhukMp0Ookyc= X-Google-Smtp-Source: AMsMyM7eHVOMghqW9Q6ohjgGKUqvEOuEHV/9kV8uZTv1726YoRONjYVj9kkbpap151ZjuuEdmAfyKWAd109EvRxnBik= X-Received: by 2002:a05:6512:1586:b0:498:fa29:35ec with SMTP id bp6-20020a056512158600b00498fa2935ecmr3879296lfb.641.1666220218097; Wed, 19 Oct 2022 15:56:58 -0700 (PDT) MIME-Version: 1.0 References: <20221019164309.1709541-1-ammarfaizi2@gnuweeb.org> <61b7ca6b-3aa6-4873-5636-a19e918823c9@gnuweeb.org> In-Reply-To: <61b7ca6b-3aa6-4873-5636-a19e918823c9@gnuweeb.org> From: Alviro Iskandar Setiawan Date: Thu, 20 Oct 2022 05:56:46 +0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH ncns v1 0/2] Small optimization and improve debugging experience To: Ammar Faizi Cc: Muhammad Rizki , "GNU/Weeb Mailing List" Content-Type: text/plain; charset="UTF-8" List-Id: On Thu, Oct 20, 2022 at 5:53 AM Ammar Faizi wrote: > On 10/20/22 5:36 AM, Alviro Iskandar Setiawan wrote: > > or we shouldn't delete it at all? > > We should delete it when the ref count reaches zero for > the memory reclamation guarantee. We don't want to keep > eating memory while not using the allocated thread pool. ic ic Acked-by: Alviro Iskandar Setiawan tq -- Viro