#ifndef __PERF_ENV_H #define __PERF_ENV_H #include #include "cpumap.h" struct cpu_topology_map { int socket_id; int core_id; }; struct cpu_cache_level { u32 level; u32 line_size; u32 sets; u32 ways; char *type; char *size; char *map; }; struct numa_node { u32 node; u64 mem_total; u64 mem_free; struct cpu_map *map; }; struct perf_env { char *hostname; char *os_release; char *version; char *arch; int nr_cpus_online; int nr_cpus_avail; char *cpu_desc; char *cpuid; unsigned long long total_mem; unsigned int msr_pmu_type; int nr_cmdline; int nr_sibling_cores; int nr_sibling_threads; int nr_numa_nodes; int nr_pmu_mappings; int nr_groups; char *cmdline; const char **cmdline_argv; char *sibling_cores; char *sibling_threads; char *pmu_mappings; struct cpu_topology_map *cpu; struct cpu_cache_level *caches; int caches_cnt; struct numa_node *numa_nodes; }; extern struct perf_env perf_env; void perf_env__exit(struct perf_env *env); int perf_env__set_cmdline(struct perf_env *env, int argc, const char *argv[]); int perf_env__read_cpu_topology_map(struct perf_env *env); void cpu_cache_level__free(struct cpu_cache_level *cache); #endif /* __PERF_ENV_H */ net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/include/uapi/xen/gntdev.h
diff options
context:
space:
mode:
authorHarsh Jain <harsh@chelsio.com>2017-02-01 21:10:28 +0530
committerHerbert Xu <herbert@gondor.apana.org.au>2017-02-03 17:45:48 +0800
commit0b529f143e8baad441a5aac9ad55ec2434d8fb46 (patch)
treefd816e548e12745d4776ad0bd661bec142d3ea06 /include/uapi/xen/gntdev.h
parentc26819900036f5b91608051a0fc7c76f6b4ffc7b (diff)
crypto: algif_aead - Fix kernel panic on list_del
Kernel panics when userspace program try to access AEAD interface. Remove node from Linked List before freeing its memory. Cc: <stable@vger.kernel.org> Signed-off-by: Harsh Jain <harsh@chelsio.com> Reviewed-by: Stephan Müller <smueller@chronox.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/uapi/xen/gntdev.h')