aboutsummaryrefslogtreecommitdiff
path: root/include/linux/cpu_rmap.h
AgeCommit message (Collapse)AuthorFilesLines
2012-07-19net/rps: Protect cpu_rmap.h from double inclusionAmir Vadai1-0/+4
Signed-off-by: Amir Vadai <[email protected]> Signed-off-by: Or Gerlitz <[email protected]> Acked-by: Ben Hutchings <[email protected]> Signed-off-by: David S. Miller <[email protected]>
2011-01-24lib: cpu_rmap: CPU affinity reverse-mappingBen Hutchings1-0/+73
When initiating I/O on a multiqueue and multi-IRQ device, we may want to select a queue for which the response will be handled on the same or a nearby CPU. This requires a reverse-map of IRQ affinity. Add library functions to support a generic reverse-mapping from CPUs to objects with affinity and the specific case where the objects are IRQs. Signed-off-by: Ben Hutchings <[email protected]> Signed-off-by: David S. Miller <[email protected]>