aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorGregory Price <[email protected]>2024-02-02 12:02:36 -0500
committerAndrew Morton <[email protected]>2024-02-22 10:24:46 -0800
commit9685e6e30d116d72fb013b0bce261a676b7575c1 (patch)
tree2cd0bac3b51a8d02741dc60d50bb90fea6259907 /tools/perf/scripts/python/netdev-times.py
parentdce41f5ae2539d1c20ae8de4e039630aec3c3f3c (diff)
mm/mempolicy: refactor a read-once mechanism into a function for re-use
Move the use of barrier() to force policy->nodemask onto the stack into a function `read_once_policy_nodemask` so that it may be re-used. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Gregory Price <[email protected]> Suggested-by: "Huang, Ying" <[email protected]> Reviewed-by: "Huang, Ying" <[email protected]> Cc: Dan Williams <[email protected]> Cc: Hasan Al Maruf <[email protected]> Cc: Honggyu Kim <[email protected]> Cc: Hyeongtak Ji <[email protected]> Cc: Johannes Weiner <[email protected]> Cc: Jonathan Corbet <[email protected]> Cc: Michal Hocko <[email protected]> Cc: Rakie Kim <[email protected]> Cc: Ravi Jonnalagadda <[email protected]> Cc: Srinivasulu Thanneeru <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions