Currently, random-cursor and checkpoint threads of control crack the WT_REF.addr fields to determine if the page is a leaf page or an internal page to decide if the page needs to be read into cache. This requires locking.
Replace that locking and work with a flag in the WT_REF structure that indicates if the page is a leaf page or not.