lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4DECD467-AD45-419D-8F0F-1456863274FD@raithlin.com>
Date:   Thu, 1 Nov 2018 16:48:45 +0000
From:   "Stephen  Bates" <sbates@...thlin.com>
To:     Alexey Skidanov <alexey.skidanov@...el.com>,
        "danielmentz@...gle.com" <danielmentz@...gle.com>,
        "mathieu.desnoyers@...icios.co" <mathieu.desnoyers@...icios.co>
CC:     Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        Laura Abbott <labbott@...hat.com>
Subject: Re: lib/genalloc

>    I use gen_pool_first_fit_align() as pool allocation algorithm allocating
>    buffers with requested alignment. But if a chunk base address is not
>    aligned to the requested alignment(from some reason), the returned
>    address is not aligned too.
    
Alexey

Can you try using gen_pool_first_fit_order_align()? Will that give you the alignment you need?

Stephen
    

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ