[<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