All of lore.kernel.org
 help / color / mirror / Atom feed
From: Qu Wenruo <wqu@suse.com>
To: dsterba@suse.cz
Cc: linux-btrfs <linux-btrfs@vger.kernel.org>
Subject: Re: Fwd: btrfs: OOM in split_item().
Date: Wed, 9 Sep 2026 06:57:59 +0930	[thread overview]
Message-ID: <962e0f59-ca17-4467-b762-0b225df0d25f@suse.com> (raw)
In-Reply-To: <20260908131439.GC9053@twin.jikos.cz>



在 2026/9/8 22:44, David Sterba 写道:
> On Tue, Sep 08, 2026 at 07:45:58AM +0930, Qu Wenruo wrote:
>> Forwarded for archive purposes, as patchcheck requires a link: tag
>> following reported-by: tag.
>>
>> Meanwhile the original report is only a private mail to me.
>>
>> -------- 转发的消息 --------
>> 主题: 	btrfs: OOM in split_item().
>> 日期: 	Mon, 07 Sep 2026 20:10:56 +0000
>> 发件人: 	xavierbachmeyer182 <xavierbachmeyer182@protonmail.com>
>> 收件人: 	wqu@suse.com <wqu@suse.com>
>>
>>
>>
>> Hello.
>>
>> Attached is a kernel log entry showing a strange out of memory issue
>> that rarely seems to happen.
>> It's kind of annoying and makes me wish GFP_NOFS would go the way of the
>> dinosaur.
> 
> What is the story behind that? One way or another we will get GPF_NOFS
> semantics, either the flag or the scoped NOFS and this limits the
> allocator.

No extra follow up unfortunately.

> 
> Using 64k nodes is problematic and so I'd rather people not use it on 4k
> systems.

In fact the only problematic part in b-tree operation is exactly the 
vmalloc() I'm fixing.

Other than that I see no obvious problem related to 64K nodesize on 4K 
page systems.

The way we handle metadata is already vmalloc() like, we allocate page 
sized folios for 64K nodes anyway.

  reply	other threads:[~2026-09-08 21:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <nka8fLGwxf2NcMXCcuLi4CkGSIKrKG4Sc9IbvTTBG5L6T63w6tImgOKYEmu-pWaoZZFO4Eqg8zDyMggihfvlFRTd1Vubz6E52PVEhU83gn8=@protonmail.com>
2026-09-07 22:15 ` Fwd: btrfs: OOM in split_item() Qu Wenruo
2026-09-08 13:14   ` David Sterba
2026-09-08 21:27     ` Qu Wenruo [this message]
2026-09-09  0:44       ` David Sterba
2026-09-09  1:06         ` Qu Wenruo
2026-09-11 17:55           ` David Sterba

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=962e0f59-ca17-4467-b762-0b225df0d25f@suse.com \
    --to=wqu@suse.com \
    --cc=dsterba@suse.cz \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.