@@ -29,7 +29,6 @@ import (
29
29
"github.com/kubewharf/katalyst-core/pkg/agent/qrm-plugins/memory/dynamicpolicy/state"
30
30
"github.com/kubewharf/katalyst-core/pkg/agent/qrm-plugins/util"
31
31
"github.com/kubewharf/katalyst-core/pkg/util/asyncworker"
32
- cgroupmgr "github.com/kubewharf/katalyst-core/pkg/util/cgroup/manager"
33
32
"github.com/kubewharf/katalyst-core/pkg/util/general"
34
33
"github.com/kubewharf/katalyst-core/pkg/util/machine"
35
34
qosutil "github.com/kubewharf/katalyst-core/pkg/util/qos"
@@ -482,21 +481,6 @@ func (p *DynamicPolicy) adjustAllocationEntries() error {
482
481
general .Errorf ("add work: %s pod: %s container: %s failed with error: %v" , movePagesWorkName , podUID , containerName , err )
483
482
}
484
483
}
485
-
486
- dropCacheWorkName := util .GetContainerAsyncWorkName (podUID , containerName ,
487
- memoryPluginAsyncWorkTopicDropCache )
488
- // start a asynchronous work to drop cache for the container whose numaset changed and doesn't require numa_binding
489
- err = p .defaultAsyncLimitedWorkers .AddWork (
490
- & asyncworker.Work {
491
- Name : dropCacheWorkName ,
492
- UID : uuid .NewUUID (),
493
- Fn : cgroupmgr .DropCacheWithTimeoutForContainer ,
494
- Params : []interface {}{podUID , containerID , dropCacheTimeoutSeconds , GetFullyDropCacheBytes (container )},
495
- DeliveredAt : time .Now (),
496
- }, asyncworker .DuplicateWorkPolicyOverride )
497
- if err != nil {
498
- general .Errorf ("add work: %s pod: %s container: %s failed with error: %v" , dropCacheWorkName , podUID , containerName , err )
499
- }
500
484
}
501
485
}
502
486
0 commit comments