From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Enlarge MAX_ALLOCA? Date: Sat, 28 Jun 2014 17:38:07 +0300 Message-ID: <837g416qwg.fsf@gnu.org> References: <87oaxdrug1.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1403966323 14927 80.91.229.3 (28 Jun 2014 14:38:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 28 Jun 2014 14:38:43 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: handa@gnu.org (K. Handa) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 28 16:38:36 2014 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 1X0tlw-0007aR-Fl for ged-emacs-devel@m.gmane.org; Sat, 28 Jun 2014 16:38:32 +0200 Original-Received: from localhost ([::1]:54918 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X0tlw-0002sj-4O for ged-emacs-devel@m.gmane.org; Sat, 28 Jun 2014 10:38:32 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56922) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X0tlo-0002sA-Ka for emacs-devel@gnu.org; Sat, 28 Jun 2014 10:38:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X0tlj-0002nR-Ge for emacs-devel@gnu.org; Sat, 28 Jun 2014 10:38:24 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:32823) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X0tlj-0002nJ-8i; Sat, 28 Jun 2014 10:38:19 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0N7V00K00U6DP700@a-mtaout23.012.net.il>; Sat, 28 Jun 2014 17:38:17 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N7V00KVPVBTL390@a-mtaout23.012.net.il>; Sat, 28 Jun 2014 17:38:17 +0300 (IDT) In-reply-to: <87oaxdrug1.fsf@gnu.org> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.175 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:172797 Archived-At: > From: handa@gnu.org (K. Handa) > Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org > Date: Sat, 28 Jun 2014 23:15:58 +0900 > > In article <871tuhti1h.fsf@gnu.org>, handa@gnu.org (K. Handa) writes: > > > > Does the patch below look OK to you? I tried it, but it seems to > > > cause trouble when byte-compiling: Emacs enters some kind of infloop. > > > Perhaps I misunderstood what you meant? > > > I have not yet tested your patch, > > I tested your patch, and confirmed the stuck. > > > but I think it is better > > to limit the maximum allocation size to the current > > CHARBUF_SIZE, and also limit the mininum allocation size to > > 16 units or so. The latter is because some of > > encode_coding_XXXX need at least a few more slots left in > > coding->charbuf. > > So, along the above line, I intalled the attached patch > with which Emacs didn't stuck, Thank you.