func CreateTopologyAwarePolicy(opts *policyapi.BackendOptions) policyapi.Backend {
	return createPolicy(opts, false)
}
CreateTopologyAwarePolicy creates a new policy instance.
package topologyaware
import (
	v1 "k8s.io/api/core/v1"
	resapi "k8s.io/apimachinery/pkg/api/resource"
	"k8s.io/kubernetes/pkg/kubelet/cm/cpuset"
	"github.com/hashicorp/go-multierror"
	"github.com/intel/cri-resource-manager/pkg/config"
	"github.com/intel/cri-resource-manager/pkg/cpuallocator"
	"github.com/intel/cri-resource-manager/pkg/cri/resource-manager/cache"
	"github.com/intel/cri-resource-manager/pkg/cri/resource-manager/events"
	"github.com/intel/cri-resource-manager/pkg/cri/resource-manager/introspect"
	policyapi "github.com/intel/cri-resource-manager/pkg/cri/resource-manager/policy"
	system "github.com/intel/cri-resource-manager/pkg/sysfs"
	idset "github.com/intel/goresctrl/pkg/utils"
)
const (
	PolicyName = "topology-aware"
	PolicyDescription = "A policy for prototyping memory tiering."
	PolicyPath = "policy." + PolicyName
	AliasName = "memtier"
	AliasPath = "policy." + AliasName
	ColdStartDone = "cold-start-done"
)
type allocations struct {
	policy *policy
	grants map[string]Grant
}
type policy struct {
	options      *policyapi.BackendOptions  
	cache        cache.Cache                
	sys          system.System              
	allowed      cpuset.CPUSet              
	reserved     cpuset.CPUSet              
	reserveCnt   int                        
	isolated     cpuset.CPUSet              
	nodes        map[string]Node            
	pools        []Node                     
	root         Node                       
	nodeCnt      int                        
	depth        int                        
	allocations  allocations                
	cpuAllocator cpuallocator.CPUAllocator  
	coldstartOff bool                       
	isAlias      bool                       
}
var _ policyapi.Backend = &policy{}
var coldStartOff bool