diff options
author | Matthew Wilcox <willy@infradead.org> | 2018-06-18 08:26:32 -0400 |
---|---|---|
committer | Matthew Wilcox <willy@infradead.org> | 2018-08-21 23:54:18 -0400 |
commit | b3fa64170e21393b5790be89ab16cdfe1f5bddbc (patch) | |
tree | 0d7edeef4e67be73e0c5f66b2ea9ee5a577c0810 /tools/perf/scripts/python/sctop.py | |
parent | 6e77cc471090a2f37802cb328bffe4ce56f4ce18 (diff) |
ppc: Convert mmu context allocation to new IDA API
ida_alloc_range is the perfect fit for this use case. Eliminates
a custom spinlock, a call to ida_pre_get and a local check for the
allocated ID exceeding a maximum.
Signed-off-by: Matthew Wilcox <willy@infradead.org>
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions