+ kvm-mm-account-shadow-page-tables-to-kmemcg-v2.patch added to -mm tree

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

 



The patch titled
     Subject: kvm, mm: account shadow page tables to kmemcg
has been added to the -mm tree.  Its filename is
     kvm-mm-account-shadow-page-tables-to-kmemcg-v2.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/kvm-mm-account-shadow-page-tables-to-kmemcg-v2.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/kvm-mm-account-shadow-page-tables-to-kmemcg-v2.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/process/submit-checklist.rst when testing your code ***

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

------------------------------------------------------
From: Shakeel Butt <shakeelb@xxxxxxxxxx>
Subject: kvm, mm: account shadow page tables to kmemcg

replace (GFP_KERNEL|__GFP_ACCOUNT) with GFP_KERNEL_ACCOUNT

Link: http://lkml.kernel.org/r/20180629140224.205849-1-shakeelb@xxxxxxxxxx
Signed-off-by: Shakeel Butt <shakeelb@xxxxxxxxxx>
Cc: Michal Hocko <mhocko@xxxxxxxxxx>
Cc: Johannes Weiner <hannes@xxxxxxxxxxx>
Cc: Vladimir Davydov <vdavydov.dev@xxxxxxxxx>
Cc: Paolo Bonzini <pbonzini@xxxxxxxxxx>
Cc: Greg Thelen <gthelen@xxxxxxxxxx>
Cc: Radim Krčm�ř <rkrcmar@xxxxxxxxxx>
Cc: Peter Feiner <pfeiner@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---


diff -puN arch/x86/kvm/mmu.c~kvm-mm-account-shadow-page-tables-to-kmemcg-v2 arch/x86/kvm/mmu.c
--- a/arch/x86/kvm/mmu.c~kvm-mm-account-shadow-page-tables-to-kmemcg-v2
+++ a/arch/x86/kvm/mmu.c
@@ -890,7 +890,7 @@ static int mmu_topup_memory_cache_page(s
 	if (cache->nobjs >= min)
 		return 0;
 	while (cache->nobjs < ARRAY_SIZE(cache->objects)) {
-		page = (void *)__get_free_page(GFP_KERNEL|__GFP_ACCOUNT);
+		page = (void *)__get_free_page(GFP_KERNEL_ACCOUNT);
 		if (!page)
 			return -ENOMEM;
 		cache->objects[cache->nobjs++] = page;
_

Patches currently in -mm which might be from shakeelb@xxxxxxxxxx are

slub-track-number-of-slabs-irrespective-of-config_slub_debug.patch
fs-fsnotify-account-fsnotify-metadata-to-kmemcg.patch
fs-mm-account-buffer_head-to-kmemcg.patch
kvm-mm-account-shadow-page-tables-to-kmemcg.patch
kvm-mm-account-shadow-page-tables-to-kmemcg-v2.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 Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux