aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorLaura Abbott <[email protected]>2018-04-18 10:08:32 -0700
committerBoris Ostrovsky <[email protected]>2018-04-19 16:35:51 -0400
commiteb0b4aa89cf21b69e15168010189e9d9c7483e54 (patch)
tree082db0025e38fc3ef5c52e09439356b7171c95ed /tools/perf/scripts/python/export-to-postgresql.py
parentebf04f331fa15a966262341a7dc6b1a0efd633e4 (diff)
x86/xen: Remove use of VLAs
There's an ongoing effort to remove VLAs[1] from the kernel to eventually turn on -Wvla. It turns out, the few VLAs in use in Xen produce only a single entry array that is always bounded by GDT_SIZE. Clean up the code to get rid of the VLA and the loop. [1] https://lkml.org/lkml/2018/3/7/621 Signed-off-by: Laura Abbott <[email protected]> Reviewed-by: Boris Ostrovsky <[email protected]> [boris: Use BUG_ON(size>PAGE_SIZE) instead of GDT_SIZE] Signed-off-by: Boris Ostrovsky <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions