Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 9 Sep 2013 19:31:42 +0200
From: magnum <john.magnum@...hmail.com>
To: john-dev@...ts.openwall.com
Subject: Re: mask mode bug

On 9 sep 2013, at 16:04, Sayantan Datta <std2048@...il.com> wrote:
> On Sun, Sep 8, 2013 at 10:48 PM, magnum <john.magnum@...hmail.com> wrote:
>> Apparently it always allocates bitmap structs for 32 million hashes regardless of actual number loaded. And it allocates some kind of hash table with a fixed size of 512 MB. I presume this will be dynamically allocated later.
>  
> I'm statically allocating memory because it saves a lot of kernel arguments (by putting them in a single structure) which in turn saves lot of vgprs. When number of kernel arguments exceeds certain limit, it starts using vgprs. I have verified this with catalyst 13,4. This may be a compiler problem and if this problem is resolved in future then we wouldn't have any problem with dynamic allocation.

There are obviously ways around it without increasing number of arguments but I guess it's not a priority right now anyway.

magnum

Powered by blists - more mailing lists

Your e-mail address:

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