diff options
| author | Matthew Wilcox <[email protected]> | 2018-06-18 12:26:32 +0000 |
|---|---|---|
| committer | Matthew Wilcox <[email protected]> | 2018-08-22 03:54:18 +0000 |
| commit | b3fa64170e21393b5790be89ab16cdfe1f5bddbc (patch) | |
| tree | 0d7edeef4e67be73e0c5f66b2ea9ee5a577c0810 /tools/testing/radix-tree/main.c | |
| parent | Convert net_namespace to new IDA API (diff) | |
| download | kernel-b3fa64170e21393b5790be89ab16cdfe1f5bddbc.tar.gz kernel-b3fa64170e21393b5790be89ab16cdfe1f5bddbc.zip | |
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 <[email protected]>
Reviewed-by: Nicholas Piggin <[email protected]>
Diffstat (limited to 'tools/testing/radix-tree/main.c')
0 files changed, 0 insertions, 0 deletions
