Re: [PATCH 2/4] char: xillybus: replace __get_free_pages() with kmalloc()

From: Mike Rapoport

Date: Thu Sep 03 2026 - 11:08:07 EST


On Thu, Sep 03, 2026 at 04:28:48PM +0200, Vlastimil Babka (SUSE) wrote:
> On 9/3/26 14:30, Eli Billauer wrote:
> > On 02/09/2026 14:09, Mike Rapoport wrote:
>
> > in this case. So we actually want __get_free_pages(), but call kmalloc()

Just to add to what Vlastimil said, if you want a buffer you want kmalloc().

--
Sincerely yours,
Mike.