Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1554554

Re: __GFP_REPEAT usage in fq_alloc_node

From Eric Dumazet <edumazet@google.com>
Newsgroups linux.kernel
Subject Re: __GFP_REPEAT usage in fq_alloc_node
Date 2017-01-09 19:00 +0100
Message-ID <sXMoG-7ef-23@gated-at.bofh.it> (permalink)
References (2 earlier) <sWFfz-4j0-3@gated-at.bofh.it> <sWFpg-4oA-23@gated-at.bofh.it> <sXFnb-2X9-5@gated-at.bofh.it> <sXKGe-6kS-17@gated-at.bofh.it> <sXMeZ-7b1-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Jan 9, 2017 at 9:45 AM, Michal Hocko <mhocko@kernel.org> wrote:

> What about those non-default configurations. Do they really want to
> invoke the OOM killer rather than fallback to the vmalloc?

In our case, we use 4096 slots per fq, so that is a 16KB memory allocation.
And these allocations happen right after boot, while we have plenty of
non fragmented memory.

Presumably falling back to vmalloc() would be just fine.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

__GFP_REPEAT usage in fq_alloc_node Michal Hocko <mhocko@kernel.org> - 2017-01-06 16:30 +0100
  Re: __GFP_REPEAT usage in fq_alloc_node Eric Dumazet <edumazet@google.com> - 2017-01-06 16:40 +0100
    Re: __GFP_REPEAT usage in fq_alloc_node Michal Hocko <mhocko@kernel.org> - 2017-01-06 17:10 +0100
      Re: __GFP_REPEAT usage in fq_alloc_node Michal Hocko <mhocko@kernel.org> - 2017-01-06 17:20 +0100
        Re: [PATCH] net: use kvmalloc rather than open coded variant kbuild test robot <lkp@intel.com> - 2017-01-07 04:40 +0100
          Re: [PATCH] net: use kvmalloc rather than open coded variant Michal Hocko <mhocko@kernel.org> - 2017-01-07 10:30 +0100
        Re: [PATCH] net: use kvmalloc rather than open coded variant kbuild test robot <lkp@intel.com> - 2017-01-07 04:40 +0100
        Re: __GFP_REPEAT usage in fq_alloc_node Michal Hocko <mhocko@kernel.org> - 2017-01-09 11:30 +0100
          Re: __GFP_REPEAT usage in fq_alloc_node Eric Dumazet <edumazet@google.com> - 2017-01-09 17:10 +0100
            Re: __GFP_REPEAT usage in fq_alloc_node Michal Hocko <mhocko@kernel.org> - 2017-01-09 18:50 +0100
              Re: __GFP_REPEAT usage in fq_alloc_node Eric Dumazet <edumazet@google.com> - 2017-01-09 19:00 +0100
      Re: [PATCH] net_sched: use kvmalloc rather than opencoded variant Michal Hocko <mhocko@kernel.org> - 2017-01-16 10:00 +0100
    Re: __GFP_REPEAT usage in fq_alloc_node Vlastimil Babka <vbabka@suse.cz> - 2017-01-06 17:40 +0100
      Re: __GFP_REPEAT usage in fq_alloc_node Eric Dumazet <edumazet@google.com> - 2017-01-06 17:50 +0100
        Re: __GFP_REPEAT usage in fq_alloc_node Vlastimil Babka <vbabka@suse.cz> - 2017-01-06 18:00 +0100
          Re: __GFP_REPEAT usage in fq_alloc_node Eric Dumazet <edumazet@google.com> - 2017-01-06 18:10 +0100
            Re: __GFP_REPEAT usage in fq_alloc_node Vlastimil Babka <vbabka@suse.cz> - 2017-01-06 18:20 +0100
        Re: __GFP_REPEAT usage in fq_alloc_node Eric Dumazet <edumazet@google.com> - 2017-01-06 18:00 +0100

csiph-web