Todd Lipcon has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/15502 )
Change subject: tserver: avoid spinlock in scanners hot path ...................................................................... tserver: avoid spinlock in scanners hot path This replaces a spinlock protection of the scanner "rows_returned" counter to just be an atomic integer instead. This saved some CPU cycles in the TSBS benchmark. Change-Id: If3c32e94ada847076580e20571440833a8544c57 Reviewed-on: http://gerrit.cloudera.org:8080/15502 Reviewed-by: Adar Dembo <[email protected]> Tested-by: Kudu Jenkins --- M src/kudu/tserver/scanners.h 1 file changed, 3 insertions(+), 5 deletions(-) Approvals: Adar Dembo: Looks good to me, approved Kudu Jenkins: Verified -- To view, visit http://gerrit.cloudera.org:8080/15502 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: If3c32e94ada847076580e20571440833a8544c57 Gerrit-Change-Number: 15502 Gerrit-PatchSet: 3 Gerrit-Owner: Todd Lipcon <[email protected]> Gerrit-Reviewer: Adar Dembo <[email protected]> Gerrit-Reviewer: Andrew Wong <[email protected]> Gerrit-Reviewer: Andrew Wong <[email protected]> Gerrit-Reviewer: Kudu Jenkins (120) Gerrit-Reviewer: Todd Lipcon <[email protected]>
