aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorFenghua Yu <fenghua.yu@intel.com>2019-12-20 16:05:55 -0800
committerMiquel Raynal <miquel.raynal@bootlin.com>2020-05-10 21:15:52 +0200
commit7c26e6ef96c95105d6b1dc828902067df9b0f076 (patch)
tree67e5bf237f0a07d40e5d74ecda26cf21987b1859 /tools/perf/scripts/python/bin/stackcollapse-record
parentLinux 5.7-rc3 (diff)
mtd: rawnand: fsmc: Change to non-atomic bit operations
No need to use expensive atomic change_bit() on dat[] and err_idx[]: 1. fsmc_bch8_correct_data() is called while mutex chip->lock is held 2. err_idx[] is a local variable. To avoid big endian concern due to type cast to unsigned long, directly change the bit in the specified byte instead of using non-atomic __change_bit(). Suggested-by: Peter Zijlstra <peterz@infradead.org> Signed-off-by: Fenghua Yu <fenghua.yu@intel.com> Reviewed-by: Tony Luck <tony.luck@intel.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/1576886755-9788-1-git-send-email-fenghua.yu@intel.com
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions