From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f41.google.com (mail-pa0-f41.google.com [209.85.220.41]) by kanga.kvack.org (Postfix) with ESMTP id 0CCD96B0073 for ; Tue, 11 Mar 2014 05:23:03 -0400 (EDT) Received: by mail-pa0-f41.google.com with SMTP id fa1so8587358pad.0 for ; Tue, 11 Mar 2014 02:23:03 -0700 (PDT) Received: from song.cn.fujitsu.com ([222.73.24.84]) by mx.google.com with ESMTP id u5si19541967pbi.358.2014.03.11.02.23.01 for ; Tue, 11 Mar 2014 02:23:03 -0700 (PDT) From: Dongsheng Yang Subject: [PATCH 06/16] mm: Replace hardcoding of 19 with MAX_NICE. Date: Tue, 11 Mar 2014 17:20:27 +0800 Message-Id: <6db404fe09e07e90af42388d05bef923e834bba6.1394529373.git.yangds.fnst@cn.fujitsu.com> In-Reply-To: References: Sender: owner-linux-mm@kvack.org List-ID: To: linux-kernel@vger.kernel.org Cc: joe@perches.com, peterz@infradead.org, mingo@kernel.org, tglx@linutronix.de, heiko.carstens@de.ibm.com, Dongsheng Yang , linux-mm@kvack.org, Bob Liu , "Aneesh Kumar K.V" , "Kirill A. Shutemov" , Mel Gorman , Rik van Riel , Andrew Morton Signed-off-by: Dongsheng Yang cc: linux-mm@kvack.org cc: Bob Liu cc: "Aneesh Kumar K.V" cc: "Kirill A. Shutemov" cc: Mel Gorman cc: Rik van Riel cc: Andrew Morton --- mm/huge_memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/huge_memory.c b/mm/huge_memory.c index 1546655..dcdb6f9 100644 --- a/mm/huge_memory.c +++ b/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(); -- 1.8.2.1 -- 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: email@kvack.org