Messages in this thread Patch in this message | ![/](/images/icornerl.gif) | | From | Dongsheng Yang <> | Subject | [PATCH 07/17] mm: Replace hardcoding of 19 with MAX_NICE. | Date | Tue, 11 Mar 2014 18:09:15 +0800 |
| |
Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com> cc: linux-mm@kvack.org cc: Bob Liu <lliubbo@gmail.com> cc: "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com> cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> cc: Mel Gorman <mgorman@suse.de> cc: Rik van Riel <riel@redhat.com> cc: Andrew Morton <akpm@linux-foundation.org> --- 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
| ![\](/images/icornerr.gif) |