* [folded-merged] mm-catch-memory-commitment-underflow-fix.patch removed from -mm tree
@ 2014-08-06 22:47 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2014-08-06 22:47 UTC (permalink / raw)
To: akpm, dave.hansen, hughd, koct9i, mm-commits
The patch titled
Subject: mm-catch-memory-commitment-underflow-fix
has been removed from the -mm tree. Its filename was
mm-catch-memory-commitment-underflow-fix.patch
This patch was dropped because it was folded into mm-catch-memory-commitment-underflow.patch
------------------------------------------------------
From: Andrew Morton <akpm@linux-foundation.org>
Subject: mm-catch-memory-commitment-underflow-fix
Use VM_WARN_ONCE, per Dave.
Cc: Hugh Dickins <hughd@google.com>
Cc: Konstantin Khlebnikov <koct9i@gmail.com>
Cc: Dave Hansen <dave.hansen@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
mm/mmap.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff -puN mm/mmap.c~mm-catch-memory-commitment-underflow-fix mm/mmap.c
--- a/mm/mmap.c~mm-catch-memory-commitment-underflow-fix
+++ a/mm/mmap.c
@@ -31,6 +31,7 @@
#include <linux/mempolicy.h>
#include <linux/rmap.h>
#include <linux/mmu_notifier.h>
+#include <linux/mmdebug.h>
#include <linux/perf_event.h>
#include <linux/audit.h>
#include <linux/khugepaged.h>
@@ -134,11 +135,9 @@ int __vm_enough_memory(struct mm_struct
{
unsigned long free, allowed, reserve;
-#ifdef CONFIG_DEBUG_VM
- WARN_ONCE(percpu_counter_read(&vm_committed_as) <
+ VM_WARN_ONCE(percpu_counter_read(&vm_committed_as) <
-(s64)vm_committed_as_batch * num_online_cpus(),
"memory commitment underflow");
-#endif
vm_acct_memory(pages);
_
Patches currently in -mm which might be from akpm@linux-foundation.org are
origin.patch
fsnotify-rename-event-handling-functions.patch
kbuild-explain-stack-protector-strong-config-logic.patch
slub-use-new-node-functions.patch
slab-use-get_node-and-kmem_cache_node-functions.patch
slab-change-int-to-size_t-for-representing-allocation-size.patch
mm-page_allocc-unexport-alloc_pages_exact_nid.patch
dma-cma-support-arbitrary-bitmap-granularity.patch
mm-vmallocc-add-a-schedule-point-to-vmalloc.patch
include-linux-mmdebugh-add-vm_warn_once.patch
mm-catch-memory-commitment-underflow.patch
mm-hugetlb-generalize-writes-to-nr_hugepages-fix.patch
mm-oom-ensure-memoryless-node-zonelist-always-includes-zones-fix.patch
list-fix-order-of-arguments-for-hlist_add_after_rcu-checkpatch-fixes.patch
add-lib-globc-fix.patch
lib-list_sortc-convert-to-pr_foo.patch
lib-list_sortc-convert-to-pr_foo-fix.patch
checkpatch-add-test-for-commit-id-formatting-style-in-commit-log.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-08-06 22:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-06 22:47 [folded-merged] mm-catch-memory-commitment-underflow-fix.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.