Re: [PATCH 10/17] jbd2: replace __get_free_pages() with kmalloc()

Matthew Wilcox <[email protected]>
Newsgroups gmane.comp.file-systems.ext4,gmane.linux.kernel,gmane.linux.file-systems,gmane.comp.file-systems.nilfs.user,gmane.linux.nfs,gmane.linux.kernel.mm
Message-ID <[email protected]>
On Fri, Jun 05, 2026 at 09:33:32AM +0100, David Laight wrote:
> On Thu, 4 Jun 2026 10:05:52 -0400
> "Theodore Tso" <[email protected]> wrote:
> 
> ...
> > I suppose we could do it with kmalloc() with some flags which to
> > prevent forced reclaim / compaction, and if that fails, then fall back
> > to vmalloc().  Is there a better way?
> 
> There is already kvalloc().
> I'm not sure how hard that tries to get kmalloc() to succeed.

Please don't try to help.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.