]> git.baikalelectronics.ru Git - kernel.git/commit
node: Add access1 class to represent CPU to memory characteristics
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Wed, 30 Sep 2020 14:05:46 +0000 (22:05 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 2 Oct 2020 16:51:57 +0000 (18:51 +0200)
commitbb0470324c3ff53181350318fc04a2d8f0bfeb11
tree7fd117f76bb3343792305dc7a772f70ee6c71b07
parentc145607e3116a04e508236567a3a95606baeef83
node: Add access1 class to represent CPU to memory characteristics

New access1 class is nearly the same as access0, but always provides
characteristics for CPUs to memory.   The existing access0 class
provides characteristics to nearest or direct connnect initiator
which may be a Generic Initiator such as a GPU or network adapter.

This new class allows thread placement on CPUs to be performed
so as to give optimal access characteristics to memory, even if that
memory is for example attached to a GPU or similar and only accessible
to the CPU via an appropriate bus.

Suggested-by: Dan Willaims <dan.j.williams@intel.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/numa/hmat.c