Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1541965
| Path | csiph.com!weretis.net!feeder4.news.weretis.net!news.unit0.net!news.panservice.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | Michal Hocko <mhocko@kernel.org> |
| Newsgroups | linux.kernel |
| Subject | [PATCH 0/3] mm, oom: add oom detection tracepoints |
| Date | Wed, 14 Dec 2016 16:00:01 +0100 |
| Message-ID | <sOjcd-7GR-5@gated-at.bofh.it> (permalink) |
| X-Original-To | Andrew Morton <akpm@linux-foundation.org> |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Q+fEkh4AEqY/aJIJg2plbDTKtYQSkSI5ad8b5pCqRSY=; b=Np4sgWKj3r6RFgnpb+1DwTk4IeMkgxPwre0GggqQYhVaQ/xPKDmAsvfgxM0vpmsPz8 PabFy3OsLDZumxiD01VLFPnSQwvuZWS2tDMQ18yEkKwy7h+wLAs4AMq7vz0rZ/u1TDtF f+vh7+v4zHihEZvEweqPt1AFbbOenUgbPrrDbO2wboinIG4QpHiXLhCndQvVa89W3grt Al5kRIPeMFax9iPtYkFO9vDT2xEDsoKCZtYsswVGm6MYih0d4HgSwJG6vZshjwoiaFzR XDN4cEGFQKWGxLHcrvKy+0neRNYS5SzTZLIueh3A+yA8OJSlWWurjwwqncqMKq3M073R 8krA== |
| X-Gm-Message-State | AKaTC03s18pZO1dlE+CdD2MxY15Ckk1EWVMmP6QujbohSn2NAN9aXNoYzq1OPh+qt4MpUQ== |
| X-Received | by 10.194.86.67 with SMTP id n3mr1275806wjz.105.1481727212436; Wed, 14 Dec 2016 06:53:32 -0800 (PST) |
| X-Mailer | git-send-email 2.10.2 |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 28 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | Vlastimil Babka <vbabka@suse.cz>, David Rientjes <rientjes@google.com>, Johannes Weiner <hannes@cmpxchg.org>, <linux-mm@kvack.org>, LKML <linux-kernel@vger.kernel.org> |
| X-Original-Date | Wed, 14 Dec 2016 15:53:21 +0100 |
| X-Original-Message-ID | <20161214145324.26261-1-mhocko@kernel.org> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1541965 |
Show key headers only | View raw
Hi,
this is a long overdue and I am really sorry about that. I just didn't
get to sit and come up with this earlier as there was always some
going on which preempted it. This patchset adds two tracepoints which
should help us to debug oom decision making. The first one is placed
in should_reclaim_retry and it tells us why do we keep retrying the
allocation and reclaim while the second is in should_compact_retry which
tells us the similar for the high order requests.
In combination with the existing compaction and reclaim tracepoints we
can draw a much better picture about what is going on and why we go
and declare the oom.
I am not really a tracepoint guy so I hope I didn't do anything
obviously stupid there. Thanks to Vlastimil for his help before I've
posted this.
Anywa feedback is of course welcome!
Michal Hocko (3):
mm, trace: extract COMPACTION_STATUS and ZONE_TYPE to a common header
oom, trace: Add oom detection tracepoints
oom, trace: add compaction retry tracepoint
include/trace/events/compaction.h | 56 ------------------------
include/trace/events/mmflags.h | 90 +++++++++++++++++++++++++++++++++++++++
include/trace/events/oom.h | 81 +++++++++++++++++++++++++++++++++++
mm/page_alloc.c | 32 ++++++++++----
4 files changed, 195 insertions(+), 64 deletions(-)
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH 0/3] mm, oom: add oom detection tracepoints Michal Hocko <mhocko@kernel.org> - 2016-12-14 16:00 +0100
[PATCH 1/3] mm, trace: extract COMPACTION_STATUS and ZONE_TYPE to a common header Michal Hocko <mhocko@kernel.org> - 2016-12-14 16:00 +0100
Re: [PATCH 1/3] mm, trace: extract COMPACTION_STATUS and ZONE_TYPE to a common header Vlastimil Babka <vbabka@suse.cz> - 2016-12-14 18:20 +0100
Re: [PATCH 1/3] mm, trace: extract COMPACTION_STATUS and ZONE_TYPE to a common header Michal Hocko <mhocko@kernel.org> - 2016-12-14 20:10 +0100
[PATCH 3/3] oom, trace: add compaction retry tracepoint Michal Hocko <mhocko@kernel.org> - 2016-12-14 16:00 +0100
Re: [PATCH 3/3] oom, trace: add compaction retry tracepoint Vlastimil Babka <vbabka@suse.cz> - 2016-12-14 18:30 +0100
Re: [PATCH 3/3] oom, trace: add compaction retry tracepoint Michal Hocko <mhocko@kernel.org> - 2016-12-14 19:20 +0100
Re: [PATCH 3/3] oom, trace: add compaction retry tracepoint Vlastimil Babka <vbabka@suse.cz> - 2016-12-15 09:20 +0100
csiph-web