From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: Reachable killed buffers Date: Thu, 13 Sep 2012 18:49:43 +0200 Message-ID: <50520EA7.7060707@gmx.at> References: <504848D0.4020908@yandex.ru> <5048D826.3040103@yandex.ru> <5049C400.8070400@gmx.at> <504DB6DD.9030002@yandex.ru> <504E042E.5040100@yandex.ru> <504ECB49.4050509@yandex.ru> <50504349.7090603@gmx.at> <50509262.1070601@cs.ucla.edu> <50509533.9000502@yandex.ru> <50509698.5060108@cs.ucla.edu> <505098FB.1020801@gmx.at> <5050B151.2020304@yandex.ru> <5050CC93.3010506@cs.ucla.edu> <5051645B.9070308@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1347554973 5471 80.91.229.3 (13 Sep 2012 16:49:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Sep 2012 16:49:33 +0000 (UTC) Cc: Dmitry Antipov , Stefan Monnier , emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 13 18:49:36 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TCCbf-0000Jw-E7 for ged-emacs-devel@m.gmane.org; Thu, 13 Sep 2012 18:49:35 +0200 Original-Received: from localhost ([::1]:48583 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCCbb-0004II-NX for ged-emacs-devel@m.gmane.org; Thu, 13 Sep 2012 12:49:31 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43002) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCCbV-0004Ds-R8 for emacs-devel@gnu.org; Thu, 13 Sep 2012 12:49:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TCCbQ-0004Cm-2S for emacs-devel@gnu.org; Thu, 13 Sep 2012 12:49:25 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.22]:33492) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1TCCbP-0004Cb-NP for emacs-devel@gnu.org; Thu, 13 Sep 2012 12:49:19 -0400 Original-Received: (qmail invoked by alias); 13 Sep 2012 16:49:18 -0000 Original-Received: from 62-47-45-36.adsl.highway.telekom.at (EHLO [62.47.45.36]) [62.47.45.36] by mail.gmx.net (mp002) with SMTP; 13 Sep 2012 18:49:18 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX18OhzAzRboOzzK2WK5agiFw2V3tgm/PMghlW2NqDe g3GafQ61rzmnWH In-Reply-To: <5051645B.9070308@cs.ucla.edu> X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 213.165.64.22 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:153282 Archived-At: > If part of the list is shared, but the GC doesn't discover > this until after that code runs, it'll remove dead > buffers from that part. From the user's point of > view, whether dead buffers are removed would depend > on the phase of the moon. I'm too silly to understand. If a buffer on one of these lists is dead, it simply doesn't get marked from the list, so it's possible that it's reclaimed with the next sweep. In addition, the cons is removed from the list which should not harm anyone. If there's some other live reference to the cons around, the cons gets marked and the dead buffer as well, and mayby some other former member of the list. So can some kind soul please tell me what's wrong? martin