All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* + thp-remove-unnecessary-set_recommended_min_free_kbytes.patch added to -mm tree
@ 2012-08-20 21:08 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2012-08-20 21:08 UTC (permalink / raw
  To: mm-commits; +Cc: xiaoguangrong, aarcange, hughd, rientjes


The patch titled
     Subject: thp: remove unnecessary set_recommended_min_free_kbytes
has been added to the -mm tree.  Its filename is
     thp-remove-unnecessary-set_recommended_min_free_kbytes.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
From: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Subject: thp: remove unnecessary set_recommended_min_free_kbytes

Since it is called in start_khugepaged

Signed-off-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 mm/huge_memory.c |    5 -----
 1 file changed, 5 deletions(-)

diff -puN mm/huge_memory.c~thp-remove-unnecessary-set_recommended_min_free_kbytes mm/huge_memory.c
--- a/mm/huge_memory.c~thp-remove-unnecessary-set_recommended_min_free_kbytes
+++ a/mm/huge_memory.c
@@ -225,9 +225,6 @@ static ssize_t enabled_store(struct kobj
 			ret = err;
 	}
 
-	if (ret > 0 && khugepaged_enabled())
-		set_recommended_min_free_kbytes();
-
 	return ret;
 }
 static struct kobj_attribute enabled_attr =
@@ -562,8 +559,6 @@ static int __init hugepage_init(void)
 
 	start_khugepaged();
 
-	set_recommended_min_free_kbytes();

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-08-20 21:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-20 21:08 + thp-remove-unnecessary-set_recommended_min_free_kbytes.patch added to -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.