From: Alexander Polakov <apolyakov@beget.ru>
To: linux-mm@kvack.org
Subject: [PATCH] Fix print order in show_free_areas()
Date: Fri, 24 Mar 2017 20:48:50 +0300 [thread overview]
Message-ID: <1490377730.30219.2.camel@beget.ru> (raw)
Better seen in context: https://github.com/torvalds/linux/blob/master/m
m/page_alloc.c#L4500
Signed-off-by: Alexander Polyakov <apolyakov@beget.com>
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index 8afb60c..7b528c7 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -4398,13 +4398,13 @@ void show_free_areas(unsigned int filter)
A K(node_page_state(pgdat, NR_FILE_MAPPED)),
A K(node_page_state(pgdat, NR_FILE_DIRTY)),
A K(node_page_state(pgdat, NR_WRITEBACK)),
+ K(node_page_state(pgdat, NR_SHMEM)),
A #ifdef CONFIG_TRANSPARENT_HUGEPAGE
A K(node_page_state(pgdat, NR_SHMEM_THPS) *
HPAGE_PMD_NR),
A K(node_page_state(pgdat, NR_SHMEM_PMDMAPPED)
A * HPAGE_PMD_NR),
A K(node_page_state(pgdat, NR_ANON_THPS) *
HPAGE_PMD_NR),
A #endif
- K(node_page_state(pgdat, NR_SHMEM)),
A K(node_page_state(pgdat, NR_WRITEBACK_TEMP)),
A K(node_page_state(pgdat, NR_UNSTABLE_NFS)),
A node_page_state(pgdat, NR_PAGES_SCANNED),
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next reply other threads:[~2017-03-24 17:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-24 17:48 Alexander Polakov [this message]
2017-04-03 22:11 ` Andrew Morton
2017-04-04 14:19 ` Mel Gorman
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=1490377730.30219.2.camel@beget.ru \
--to=apolyakov@beget.ru \
--cc=linux-mm@kvack.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox