diff options
| author | Sidhartha Kumar <[email protected]> | 2024-08-14 12:19:37 -0400 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-09-01 20:26:16 -0700 |
| commit | 1fd7c4f3228e9775c97b25a6e5e2420df8cf0e76 (patch) | |
| tree | 3c2b5d2fadb41c6e4d2bfade6d0121670c79f1f5 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 580fcbd67ce2cdf9d70c7a8eda0789b9eba1c3af (diff) | |
maple_tree: convert mas_insert() to preallocate nodes
By setting the store type in mas_insert(), we no longer need to use
mas_wr_modify() to determine the correct store function to use. Instead,
set the store type and call mas_wr_store_entry(). Also, pass in the
requested gfp flags to mas_insert() so they can be passed to the call to
mas_wr_preallocate().
Link: https://lkml.kernel.org/r/[email protected]
Reviewed-by: Liam R. Howlett <[email protected]>
Signed-off-by: Sidhartha Kumar <[email protected]>
Cc: Matthew Wilcox (Oracle) <[email protected]>
Cc: Suren Baghdasaryan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions