+ mm-huge_memoryc-replace-hardcoding-of-19-with-max_nice.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Subject: + mm-huge_memoryc-replace-hardcoding-of-19-with-max_nice.patch added to -mm tree
To: yangds.fnst@xxxxxxxxxxxxxx
From: akpm@xxxxxxxxxxxxxxxxxxxx
Date: Tue, 11 Mar 2014 14:33:29 -0700


The patch titled
     Subject: mm/huge_memory.c: replace hardcoding of 19 with MAX_NICE
has been added to the -mm tree.  Its filename is
     mm-huge_memoryc-replace-hardcoding-of-19-with-max_nice.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/mm-huge_memoryc-replace-hardcoding-of-19-with-max_nice.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/mm-huge_memoryc-replace-hardcoding-of-19-with-max_nice.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: Dongsheng Yang <yangds.fnst@xxxxxxxxxxxxxx>
Subject: mm/huge_memory.c: replace hardcoding of 19 with MAX_NICE

Signed-off-by: Dongsheng Yang <yangds.fnst@xxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 mm/huge_memory.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN mm/huge_memory.c~mm-huge_memoryc-replace-hardcoding-of-19-with-max_nice mm/huge_memory.c
--- a/mm/huge_memory.c~mm-huge_memoryc-replace-hardcoding-of-19-with-max_nice
+++ a/mm/huge_memory.c
@@ -2803,7 +2803,7 @@ static int khugepaged(void *none)
 	struct mm_slot *mm_slot;
 
 	set_freezable();
-	set_user_nice(current, 19);
+	set_user_nice(current, MAX_NICE);
 
 	while (!kthread_should_stop()) {
 		khugepaged_do_scan();
_

Patches currently in -mm which might be from yangds.fnst@xxxxxxxxxxxxxx are

mm-huge_memoryc-replace-hardcoding-of-19-with-max_nice.patch
linux-next.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux