From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: MPS signals and Emacs Date: Mon, 22 Apr 2024 15:01:59 +0300 Message-ID: <86il0961xk.fsf@gnu.org> References: <878r16n5jl.fsf@gmail.com> <87ttjulb16.fsf@gmail.com> <86a5ll7wj9.fsf@gnu.org> <71431fc4-2ab2-4778-88df-25d4e315d737@cs.ucla.edu> <00fec231-a625-406e-a51b-cb66710c6482@cs.ucla.edu> <86wmop6cot.fsf@gnu.org> <86v8496ajl.fsf@gnu.org> <86ttjt69i2.fsf@gnu.org> <86sezd68g8.fsf@gnu.org> <86o7a165et.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13701"; mail-complaints-to="usenet@ciao.gmane.io" Cc: eggert@cs.ucla.edu, eller.helmut@gmail.com, emacs-devel@gnu.org To: Gerd =?utf-8?Q?M=C3=B6llmann?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Apr 22 14:03:34 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rysOU-0003K6-EV for ged-emacs-devel@m.gmane-mx.org; Mon, 22 Apr 2024 14:03:34 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rysNX-0005DG-3m; Mon, 22 Apr 2024 08:02:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rysNQ-0005Cp-UX for emacs-devel@gnu.org; Mon, 22 Apr 2024 08:02:33 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rysNP-0006IY-Ex; Mon, 22 Apr 2024 08:02:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=ggSTU+55hMY+9NAlqrlTjnqqdl/CNGpU6zxXA2aHpGQ=; b=cvRgT8qQM86t7//4TP/n Cftn/75jI6WDiu0f4sqiM34BvONdZwDrHfjizXaFn81vfHbke5/acWL0IQooemHXK6bDjTKoP46mj 0NKQ5Wk/bRVCPJl2R3iWNEJ0XrjlhTiQz/CJXM6XGfW9TDB/V4ofL8hizzm+8J6CuMfu4zREjbsYb 5uUEulaYjbz0Vkw5Exr+L8MKJ548IZbhcAajdruJXGN25B/PlG7KvbOLd06hScFXI6uOwmMlnqfK2 zNdYVyGmrp3WCXSv5M1RHYMA5BzVGyH4apWF8gVbd6BbpBenRA9iWDME4StlCvfERu6NrKZBQ2/V+ cF/K3lWILAgLLw==; In-Reply-To: (message from Gerd =?utf-8?Q?M?= =?utf-8?Q?=C3=B6llmann?= on Mon, 22 Apr 2024 13:00:37 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:317976 Archived-At: > From: Gerd Möllmann > Cc: eggert@cs.ucla.edu, eller.helmut@gmail.com, emacs-devel@gnu.org > Date: Mon, 22 Apr 2024 13:00:37 +0200 > > Eli Zaretskii writes: > > > And why move P to to-space in the first place, when all of its objects > > except O are already copied to to-space? > > Not sure if I understand... Because of O? O is live, and if P would > remain in from-space, O's memory could be overwritten by the next GC, > where P would be considered part of to-space if we don't prevent it. So we will now have in to-space 2 copies of all the objects that were in P and could be copied to to-space? IOW, instead of a single page P, we now have 2 pages: one that has all the objects in P except O, and another with O?