summaryrefslogtreecommitdiffstats
path: root/kernel/smp.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-10-24 03:31:50 +0200
committerDarrick J. Wong <darrick.wong@oracle.com>2017-10-24 03:31:50 +0200
commit942491c9e6d631c012f3c4ea8e7777b0b02edeab (patch)
treeb316042eb963aaede79c0ce3aa1ac8772a38f4db /kernel/smp.c
parentxfs: move two more RT specific functions into CONFIG_XFS_RT (diff)
downloadlinux-942491c9e6d631c012f3c4ea8e7777b0b02edeab.tar.xz
linux-942491c9e6d631c012f3c4ea8e7777b0b02edeab.zip
xfs: fix AIM7 regression
Apparently our current rwsem code doesn't like doing the trylock, then lock for real scheme. So change our read/write methods to just do the trylock for the RWF_NOWAIT case. This fixes a ~25% regression in AIM7. Fixes: 91f9943e ("fs: support RWF_NOWAIT for buffered reads") Reported-by: kernel test robot <xiaolong.ye@intel.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'kernel/smp.c')
0 files changed, 0 insertions, 0 deletions