From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id ULq9ABaNemFrKwEAgWs5BA (envelope-from ) for ; Thu, 28 Oct 2021 13:44:22 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id B+vkNxWNemHlPwAAbx9fmQ (envelope-from ) for ; Thu, 28 Oct 2021 11:44:21 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5E6B52E23D for ; Thu, 28 Oct 2021 13:44:21 +0200 (CEST) Received: from localhost ([::1]:41978 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mg3pS-0006pR-4N for larch@yhetil.org; Thu, 28 Oct 2021 07:44:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43680) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mg3mK-0006p6-86 for emacs-orgmode@gnu.org; Thu, 28 Oct 2021 07:41:04 -0400 Received: from mail-pj1-x1036.google.com ([2607:f8b0:4864:20::1036]:46637) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mg3mI-0000Gi-Py for emacs-orgmode@gnu.org; Thu, 28 Oct 2021 07:41:03 -0400 Received: by mail-pj1-x1036.google.com with SMTP id lx5-20020a17090b4b0500b001a262880e99so4446942pjb.5 for ; Thu, 28 Oct 2021 04:41:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=tJo9rTA9lr1GCB3UhBW6Vce1bE+ej0yalJkb0QPxdEw=; b=oDejpsXMzwNURjQOh0aZxrRFE8NVotLnvHUlrM9TLd/4P9mZQYJBj5LnzURREvzElf MfG3mncUj68B4EMAJeLjk3eMcCcSaT2pda/Mv/5ga2Itz0D3S4jlLWFKzc9l9/NjHH4p JSjR1pYuU7yPN5SPM3xPb4JPhcqWePADplNNRnI930RBx/+4eJ3xfk8XYqGPb6d5Ps1r JMJ7JKc7XbWyBID2lWbI4cSYoj7rAlRdyZ9HirSmqt+5+adW0yoqyWc7N6PE0DShADa3 VO7jFB9XF2N/rmzbkH9nf5ZUu10Ap22yOjRYM9FKeSoo6syXsUn9yjt4kwWsmSODaHQr 628w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=tJo9rTA9lr1GCB3UhBW6Vce1bE+ej0yalJkb0QPxdEw=; b=0mfNL3lMZTMybXw+HjgqTVsyn8KSA2i07YPbj/Yi8X/XD4q93sG/az1PNSwNb/Q8eq mhomf6raHHavSQ18j+idd7ClRDl0hDbuIFg3o3tBcCG65GOyWcjLaJBVGXP+uFtCi0P2 h7txaYfI6IHZRPwX3m5DsYj+hHgq5U4xWmWpEg9NER+sC/kt2APHyiXTKL5lZ6pCpcnT b+LU8IkQY3rKGrSxCYumFJKaRSAQ3zNeGwSBC4GYu8aVxUCL76XSnh6MWpOh5ehWMHpp R5nWiO9pJ5fm4Wlr5f5Qo31HisGTuMtl3A4oynGXrQM0QjFI8lUOccfHm8yzAQMRGCyK wuRg== X-Gm-Message-State: AOAM533dkvCDRmRFq1YBlBle5ITvaGMQrBcif1Sx6SACMiIfPnuhuemT ieDNCQmFfFAo8AqoSJsuhWE= X-Google-Smtp-Source: ABdhPJx/JLwMNkrYPIow2O2m7Z4zSozU4h/rU9jhOsUqU3cIvdqbu3ogsJnWIzhh19w8SxP6HrRKdw== X-Received: by 2002:a17:902:e848:b0:13e:f908:155a with SMTP id t8-20020a170902e84800b0013ef908155amr3435932plg.13.1635421261297; Thu, 28 Oct 2021 04:41:01 -0700 (PDT) Received: from localhost ([211.22.184.184]) by smtp.gmail.com with ESMTPSA id p3sm3036097pfb.205.2021.10.28.04.40.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Oct 2021 04:41:00 -0700 (PDT) From: Ihor Radchenko To: numbchild@gmail.com Subject: Re: [BUG] kill-buffer invoked org-persistent-write-all-buffer caused Emacs long suspend In-Reply-To: References: Date: Thu, 28 Oct 2021 19:42:29 +0800 Message-ID: <874k918jfe.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::1036; envelope-from=yantar92@gmail.com; helo=mail-pj1-x1036.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Org Mode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1635421461; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=tJo9rTA9lr1GCB3UhBW6Vce1bE+ej0yalJkb0QPxdEw=; b=bDpUp05F5RztNrOedgcYgBdDkxr5k4nU/zR1EUnF2h0L3Y8zrWq3uuQ1IE6tjj2axOEX+S rKpc1gcM8nQpHufZyWgtQoc9KQ3kr4XF9dzMbbyFwp32Aw4ponGWaqDh7GzjaHOSNU8lyn AAFRfB1Nps2QJPgpPeOpc1bXbCQUkROWRdwnKn4lTdl0pDf7sawtxmCEXZevO4LxZ/hvTr TX1IlU3/j8F+AphSLW+tTekOwvSMiEmyQR8zCKvBV062+x1md/rLZNPIoDZNNi8FO5RN0C Be2jQA7T/iEwRRKo6DWf9Bkjh6NaFmXkHEDhbss/tRL+HNRiKn2UU0MGceJ1NA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635421461; a=rsa-sha256; cv=none; b=np00uRc9WJPocR6njqag/MxdQgi/CH3sNJuxrweoLJtmY1e+Bio/Xm08LFOaC4RK13FWky IDNz9jXHSvhDqCCtZ+KmF3QYidutvc7sPz9OLYtIPC5uZQE/KxfrYjRagjCz/x3/QmJ5Qu lGzALrO1ITQy21qLtXSI9BluQ0qpmft8HdaRDvKi4zkgoYa3NRmakPLjp+QYOVB5NSKLhm SkW0vQASvKr4w05mlDHwhe4JU3FIClVypNY/pN8ZH1T2Md6I3VKoxfhpwVc16AG76AKxhS Bv+qzqmV2An/Fs0R5A2FUJCRFwUOh68DD2AJdEot3VFpMvMOpqQCpGW2d/PXbw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=oDejpsXM; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -3.26 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=oDejpsXM; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 5E6B52E23D X-Spam-Score: -3.26 X-Migadu-Scanner: scn0.migadu.com X-TUID: BmO3UX8BK+AX "Christopher M. Miles" writes: > Here is the profiler report: > > CPU: > > #+begin_example > 4003 66% - command-execute > 4003 66% - call-interactively > 3913 65% - funcall-interactively > 3320 55% - kill-buffer > 3318 55% - org-persist-write-all-buffer > 3318 55% - org-persist-write-all Sorry for this. Should be already fixed by 5abd149cf. Are you on latest main? Best, Ihor