Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 14 May 2012 09:12:29 +0200
From: magnum <john.magnum@...hmail.com>
To: john-dev@...ts.openwall.com
Subject: Re: Changes in common_opencl.c

On 05/14/2012 03:39 AM, SAYANTAN DATTA wrote:
> On Mon, May 14, 2012 at 1:47 AM, magnum <john.magnum@...hmail.com> wrote:
> 
>> Why do you need to call it twice?
> 
> To initialize two or more devices under a single format.

Ah, of course. I suspect there may be several things in common-opencl.c
that would not handle this well yet. There are lots of global variables.

> I see no problems from running --test (other than ones caused by not
>> having format destructors).
>>
> I think there is no problem from running --test because the function
> cleanup_tiny_memory() is called everytime a format is destroyed.

I think it's only called at program exit - after all formats have run.
Anyway that mem_calloc_tiny() is probably the least of your problems.

magnum

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ