aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorXianting Tian <[email protected]>2020-10-13 16:54:42 -0700
committerLinus Torvalds <[email protected]>2020-10-13 18:38:32 -0700
commitc43bc03d0a872dcfcaaf1689c4f6140f9d3cb867 (patch)
treefa6677e16c4c40e2564e6db9945a6d99b12302fb /include/linux/fpga/fpga-mgr.h
parent41a04814a715ae561ac378587a8f7763f29beb4a (diff)
mm/memory-failure: do pgoff calculation before for_each_process()
There is no need to calculate pgoff in each loop of for_each_process(), so move it to the place before for_each_process(), which can save some CPU cycles. Signed-off-by: Xianting Tian <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Acked-by: Naoya Horiguchi <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions