Re: Requested upstream patch to use OpenBSD's malloc

2014-06-10 Thread Andrew Fresh
On Sat, May 31, 2014 at 12:09:09PM -0700, Andrew Fresh wrote:
 I opened a ticket with upstream to use OpenBSD's malloc by default.
 
 https://rt.perl.org/Public/Bug/Display.html?id=122000

You will be happy to know this was merged to bleed today.

http://perl5.git.perl.org/perl.git/commitdiff/9be9e8a734382a4f2852efc22debe8e98e91eee9

Many thanks to Tony Cook and all the people who put in a good word.

l8rZ,
-- 
andrew - http://afresh1.com

Instructions are just another man's opinion of how to do something. 
  -- Weldboy #DPWisdom



Re: Requested upstream patch to use OpenBSD's malloc

2014-06-01 Thread Otto Moerbeek
On Sat, May 31, 2014 at 12:09:09PM -0700, Andrew Fresh wrote:

 I opened a ticket with upstream to use OpenBSD's malloc by default.
 
 https://rt.perl.org/Public/Bug/Display.html?id=122000
 
 Perl was setup to use perl's malloc on OpenBSD by default in 2010. 
 
 https://rt.perl.org/Public/Bug/Display.html?id=75742
 
 
 The perl in OpenBSD base has always used OpenBSD's malloc, and I believe
 that is what OpenBSD users will expect, even building perl themselves.
 
 If you have opinions that may sway the perl5-porters, please chime in on
 the above ticket #122000.

It's a bit say they never reacted to my comments in bug 75742.
Good you are taking action,

-Otto



Re: Requested upstream patch to use OpenBSD's malloc

2014-06-01 Thread Marc Espie
On Sun, Jun 01, 2014 at 07:11:37PM +0200, Otto Moerbeek wrote:
 On Sat, May 31, 2014 at 12:09:09PM -0700, Andrew Fresh wrote:
 
  I opened a ticket with upstream to use OpenBSD's malloc by default.
  
  https://rt.perl.org/Public/Bug/Display.html?id=122000
  
  Perl was setup to use perl's malloc on OpenBSD by default in 2010. 
  
  https://rt.perl.org/Public/Bug/Display.html?id=75742
  
  
  The perl in OpenBSD base has always used OpenBSD's malloc, and I believe
  that is what OpenBSD users will expect, even building perl themselves.
  
  If you have opinions that may sway the perl5-porters, please chime in on
  the above ticket #122000.
 
 It's a bit say they never reacted to my comments in bug 75742.
 Good you are taking action,

Actually, the code of perl is slightly annoying, because it doesn't have
any emergency memory reserve unless you're using their own malloc...

This is something I've wanted to look at, but haven't had the time to do.
It means having a bit of leeway when you run out of memory... Might come in
handy in order to let pkg_add clean up a wee little bit before crashing...



Re: Requested upstream patch to use OpenBSD's malloc

2014-06-01 Thread Eric Lalonde
Done and done. Just a heads-up if you try to comment on the issue and encounter 
a page with no content, it’s because you’re not logged in. 

- Eric

On May 31, 2014, at 12:09 PM, Andrew Fresh and...@afresh1.com wrote:

 I opened a ticket with upstream to use OpenBSD's malloc by default.
 
 https://rt.perl.org/Public/Bug/Display.html?id=122000
 
 Perl was setup to use perl's malloc on OpenBSD by default in 2010. 
 
 https://rt.perl.org/Public/Bug/Display.html?id=75742
 
 
 The perl in OpenBSD base has always used OpenBSD's malloc, and I believe
 that is what OpenBSD users will expect, even building perl themselves.
 
 If you have opinions that may sway the perl5-porters, please chime in on
 the above ticket #122000.
 
 l8rZ,
 -- 
 andrew - http://afresh1.com
 
 People who invent random theories which only defend the vendor must have
 been beaten as children.  Beaten with sticks.
 At least, that's my theory.
  -- Theo De Raadt