[folded-merged] mm-damon-improve-damon_new_region-strategy-fix.patch removed from -mm tree

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

 



The quilt patch titled
     Subject: mm/damon: creating kmem cache for damon regions by KMEM_CACHE()
has been removed from the -mm tree.  Its filename was
     mm-damon-improve-damon_new_region-strategy-fix.patch

This patch was dropped because it was folded into mm-damon-improve-damon_new_region-strategy.patch

------------------------------------------------------
From: Dawei Li <set_pte_at@xxxxxxxxxxx>
Subject: mm/damon: creating kmem cache for damon regions by KMEM_CACHE()
Date: Wed, 14 Sep 2022 00:21:58 +0800

Damon regions are dynamic objects which can be created and destroyed
frequently, a dedicated slab cache is created by KMEM_CACHE(), as
suggested by akpm.

Link: https://lkml.kernel.org/r/Message-ID:
Signed-off-by: Dawei Li <set_pte_at@xxxxxxxxxxx>
Reviewed-by: SeongJae Park <sj@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 mm/damon/core.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

--- a/mm/damon/core.c~mm-damon-improve-damon_new_region-strategy-fix
+++ a/mm/damon/core.c
@@ -1289,8 +1289,7 @@ bool damon_find_biggest_system_ram(unsig
 
 static int __init damon_init(void)
 {
-	damon_region_cache = kmem_cache_create("damon_region_cache", sizeof(struct damon_region),
-		0, 0, NULL);
+	damon_region_cache = KMEM_CACHE(damon_region, 0);
 	if (unlikely(!damon_region_cache)) {
 		pr_err("creating damon_region_cache fails\n");
 		return -ENOMEM;
_

Patches currently in -mm which might be from set_pte_at@xxxxxxxxxxx are

mm-damon-improve-damon_new_region-strategy.patch




[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