#
0febaae0 |
| 12-Apr-2022 |
Alexandru Elisei <alexandru.elisei@arm.com> |
Add cpumask functions
Add a handful of cpumask functions, some of which will be used when dealing with different PMUs on heterogeneous systems.
The maximum number of CPUs in a system, NR_CPUS, whic
Add cpumask functions
Add a handful of cpumask functions, some of which will be used when dealing with different PMUs on heterogeneous systems.
The maximum number of CPUs in a system, NR_CPUS, which dictates the size of the cpumask, has been taken from the Kconfig file for each architecture, from Linux version 5.16.
Signed-off-by: Alexandru Elisei <alexandru.elisei@arm.com> Link: https://lore.kernel.org/r/20220412133231.35355-9-alexandru.elisei@arm.com Signed-off-by: Will Deacon <will@kernel.org>
show more ...
|
#
d8f36177 |
| 03-May-2013 |
Sasha Levin <sasha.levin@oracle.com> |
kvm tools: steal iovec handling routines from the kernel
They're hidden inside net/core/iovec.c. It'd be nice to just link to that but they're not too generic and come with tons of net/ specific cod
kvm tools: steal iovec handling routines from the kernel
They're hidden inside net/core/iovec.c. It'd be nice to just link to that but they're not too generic and come with tons of net/ specific code we don't want. So we just copy over the relevant parts.
Signed-off-by: Sasha Levin <sasha.levin@oracle.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|
#
86824900 |
| 19-Oct-2012 |
Ingo Molnar <mingo@elte.hu> |
kvm tools: Port to v3.7-rc1
There were a number of changes that caused problems:
- UAPI conversion
- the old version of the rbtree-augmented API got removed, I updated the implementation to t
kvm tools: Port to v3.7-rc1
There were a number of changes that caused problems:
- UAPI conversion
- the old version of the rbtree-augmented API got removed, I updated the implementation to the new API
- lib/rbtree.c wants a 'true' definition
Lightly tested: it boots a v3.7-rc1 defconfig+kvmconfig kernel.
Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|
#
e358b4fb |
| 17-May-2011 |
Sasha Levin <levinsasha928@gmail.com> |
kvm tools: Add interval red-black tree helper
Interval rb-tree allows to directly store interval ranges and quickly lookup an overlap with a single point or a range.
The helper is based on the kern
kvm tools: Add interval red-black tree helper
Interval rb-tree allows to directly store interval ranges and quickly lookup an overlap with a single point or a range.
The helper is based on the kernel rb-tree implementation (located in <linux/rbtree.h>) which alows for the augmention of the classical rb-tree to be used as an interval tree.
Acked-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|
#
c1b3d8d8 |
| 28-Apr-2011 |
Sasha Levin <levinsasha928@gmail.com> |
kvm tools: Add kernel headers required for using list
Adds kernel headers so that <linux/list.h> (and others) could be included directly.
Signed-off-by: Sasha Levin <levinsasha928@gmail.com> Signed
kvm tools: Add kernel headers required for using list
Adds kernel headers so that <linux/list.h> (and others) could be included directly.
Signed-off-by: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|