From: David Miller <davem@davemloft.net>
To: shakeelb@google.com
Cc: edumazet@google.com, willemb@google.com, kuba@kernel.org,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] net/packet: simply allocations in alloc_one_pg_vec_page
Date: Sat, 16 May 2020 16:39:27 -0700 (PDT) [thread overview]
Message-ID: <20200516.163927.1112911965183377217.davem@davemloft.net> (raw)
In-Reply-To: <CALvZod7euq10j6k9Z_dej4BvGXDjqbND05oM-u6tQrLjosX31A@mail.gmail.com>
From: Shakeel Butt <shakeelb@google.com>
Date: Sat, 16 May 2020 15:35:46 -0700
> So, my argument is if non-zero order vzalloc has failed (allocations
> internal to vzalloc, including virtual mapping allocation and page
> table allocations, are order 0 and use GFP_KERNEL i.e. triggering
> reclaim and oom-killer) then the next non-zero order page allocation
> has very low chance of succeeding.
Also not true.
Page table allocation strategies and limits vary by architecture, they
may even need virtual mappings themselves. So they can fail in situations
where a non-zero GFP_KERNEL page allocator allocation would succeed.
next prev parent reply other threads:[~2020-05-16 23:39 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-16 2:17 Shakeel Butt
2020-05-16 20:40 ` David Miller
2020-05-16 22:35 ` Shakeel Butt
2020-05-16 22:45 ` Eric Dumazet
2020-05-16 23:52 ` Shakeel Butt
2020-05-16 23:39 ` David Miller [this message]
2020-05-16 23:59 ` Shakeel Butt
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=20200516.163927.1112911965183377217.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=shakeelb@google.com \
--cc=willemb@google.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®