On (01/01/11 12:22), Arjan van de Ven wrote:
> On 12/30/2010 3:01 PM, Sergey Senozhatsky wrote:
> >Hello,
> >Below is part 2 of changes to use non-throwing operator delete in cpu/* 
> >classes (for review).
> >
> >I have a question - should we remove package and core in case of (e.g.) cpu 
> >allocation error?
> >Something like this:
> 
> first, thanks for chasing this stuff down....
> 
> actually, thinking more about this.... if this kind of allocation
> fails, then PowerTOP is mostly dead in the water for everythign
> else... and as far as I'm concerned we can just abort and exit.
> This isn't the kernel where memory is always low.. this is userspace
> where the kernel will give us memory until it really really can't...
> (which would imply that WE, powertop, are leaking memory, which means
> exting is the right thing)
> 

Hello,
> which would imply that WE, powertop, are leaking memory, which means exting 
> is the right thing

I fully agree here. If we leaked so hard - the only right thing to do is to 
exit.

        Sergey

Attachment: pgpmdGeUwo61D.pgp
Description: PGP signature

_______________________________________________
Discuss mailing list
Discuss@lesswatts.org
http://lists.lesswatts.org/listinfo/discuss

Reply via email to