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


Groups > linux.kernel > #1731650

Re: [PATCH] mm: respect the __GFP_NOWARN flag when warning about stalls

From Shakeel Butt <shakeelb@google.com>
Newsgroups linux.kernel
Subject Re: [PATCH] mm: respect the __GFP_NOWARN flag when warning about stalls
Date 2017-09-13 17:00 +0200
Message-ID <uphiW-e2-11@gated-at.bofh.it> (permalink)
References <uoqRk-7DR-21@gated-at.bofh.it> <uosgp-nx-5@gated-at.bofh.it> <uoGt4-1Fz-11@gated-at.bofh.it> <uoNEe-6FT-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


>
> We would have to consider (instead of jiffies) the time the process was
> either running, or waiting on something that's related to memory
> allocation/reclaim (page lock etc.). I.e. deduct the time the process
> was runable but there was no available cpu. I expect however that such
> level of detail wouldn't be feasible here, though?
>

Johannes' memdelay work (once merged) might be useful here. I think
memdalay can differentiate between an allocating process getting
delayed due to preemption or due to unsuccessful reclaim/compaction.
If the delay is due to unsuccessful reclaim/compaction then we should
warn here.

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


Thread

[PATCH] mm: respect the __GFP_NOWARN flag when warning about  stalls Mikulas Patocka <mpatocka@redhat.com> - 2017-09-11 09:00 +0200
  Re: [PATCH] mm: respect the __GFP_NOWARN flag when warning about  stalls Michal Hocko <mhocko@kernel.org> - 2017-09-11 10:30 +0200
    Re: [PATCH] mm: respect the __GFP_NOWARN flag when warning about  stalls Mikulas Patocka <mpatocka@redhat.com> - 2017-09-12 01:40 +0200
      Re: [PATCH] mm: respect the __GFP_NOWARN flag when warning about  stalls Vlastimil Babka <vbabka@suse.cz> - 2017-09-12 09:20 +0200
        Re: [PATCH] mm: respect the __GFP_NOWARN flag when warning about stalls Shakeel Butt <shakeelb@google.com> - 2017-09-13 17:00 +0200
      Re: [PATCH] mm: respect the __GFP_NOWARN flag when warning about  stalls Michal Hocko <mhocko@kernel.org> - 2017-09-13 14:00 +0200
        Re: [PATCH] mm: respect the __GFP_NOWARN flag when warning about stalls Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> - 2017-09-13 16:00 +0200
          Re: [PATCH] mm: respect the __GFP_NOWARN flag when warning about  stalls Vlastimil Babka <vbabka@suse.cz> - 2017-09-13 16:10 +0200
            Re: [PATCH] mm: respect the __GFP_NOWARN flag when warning about stalls Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> - 2017-09-13 16:20 +0200
              Re: [PATCH] mm: respect the __GFP_NOWARN flag when warning about  stalls Michal Hocko <mhocko@kernel.org> - 2017-09-13 16:40 +0200

csiph-web