* [obsolete] mm-hugetlb-proc-add-hugetlbpages-field-to-proc-pid-status-fix-3.patch removed from -mm tree
@ 2015-08-20 21:37 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2015-08-20 21:37 UTC (permalink / raw
To: n-horiguchi, mm-commits
The patch titled
Subject: mm-hugetlb-proc-add-hugetlbpages-field-to-proc-pid-status-fix-3
has been removed from the -mm tree. Its filename was
mm-hugetlb-proc-add-hugetlbpages-field-to-proc-pid-status-fix-3.patch
This patch was dropped because it is obsolete
------------------------------------------------------
From: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Subject: mm-hugetlb-proc-add-hugetlbpages-field-to-proc-pid-status-fix-3
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
include/linux/hugetlb.h | 4 ----
include/linux/mm_types.h | 4 ++++
2 files changed, 4 insertions(+), 4 deletions(-)
diff -puN include/linux/hugetlb.h~mm-hugetlb-proc-add-hugetlbpages-field-to-proc-pid-status-fix-3 include/linux/hugetlb.h
--- a/include/linux/hugetlb.h~mm-hugetlb-proc-add-hugetlbpages-field-to-proc-pid-status-fix-3
+++ a/include/linux/hugetlb.h
@@ -344,10 +344,6 @@ int __init alloc_bootmem_huge_page(struc
void __init hugetlb_add_hstate(unsigned order);
struct hstate *size_to_hstate(unsigned long size);
-#ifndef HUGE_MAX_HSTATE
-#define HUGE_MAX_HSTATE 1
-#endif
-
extern struct hstate hstates[HUGE_MAX_HSTATE];
extern unsigned int default_hstate_idx;
diff -puN include/linux/mm_types.h~mm-hugetlb-proc-add-hugetlbpages-field-to-proc-pid-status-fix-3 include/linux/mm_types.h
--- a/include/linux/mm_types.h~mm-hugetlb-proc-add-hugetlbpages-field-to-proc-pid-status-fix-3
+++ a/include/linux/mm_types.h
@@ -367,6 +367,10 @@ struct mm_rss_stat {
};
#ifdef CONFIG_HUGETLB_PAGE
+
+#ifndef HUGE_MAX_HSTATE
+#define HUGE_MAX_HSTATE 1
+#endif
struct hugetlb_usage {
atomic_long_t count[HUGE_MAX_HSTATE];
};
_
Patches currently in -mm which might be from n-horiguchi@ah.jp.nec.com are
mm-page_isolation-make-set-unset_migratetype_isolate-file-local.patch
mm-hugetlb-proc-add-hugetlbpages-field-to-proc-pid-smaps.patch
mm-hugetlb-proc-add-hugetlbpages-field-to-proc-pid-status.patch
mm-hugetlb-proc-add-hugetlbpages-field-to-proc-pid-status-v5.patch
mm-hwpoison-introduce-num_poisoned_pages-wrappers.patch
mm-hwpoison-dont-try-to-unpoison-containment-failed-pages.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-08-20 21:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-20 21:37 [obsolete] mm-hugetlb-proc-add-hugetlbpages-field-to-proc-pid-status-fix-3.patch removed from -mm tree akpm
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.