{"action":"created","issue":{"url":"https://api.github.com/repos/huangyihe/persistent-mass/issues/2","labels_url":"https://api.github.com/repos/huangyihe/persistent-mass/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/huangyihe/persistent-mass/issues/2/comments","events_url":"https://api.github.com/repos/huangyihe/persistent-mass/issues/2/events","html_url":"https://github.com/huangyihe/persistent-mass/issues/2","id":96128472,"number":2,"title":"Incorrect \"detour\" bit mechanism","user":{"login":"huangyihe","id":3239204,"avatar_url":"https://avatars.githubusercontent.com/u/3239204?v=3","gravatar_id":"","url":"https://api.github.com/users/huangyihe","html_url":"https://github.com/huangyihe","followers_url":"https://api.github.com/users/huangyihe/followers","following_url":"https://api.github.com/users/huangyihe/following{/other_user}","gists_url":"https://api.github.com/users/huangyihe/gists{/gist_id}","starred_url":"https://api.github.com/users/huangyihe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huangyihe/subscriptions","organizations_url":"https://api.github.com/users/huangyihe/orgs","repos_url":"https://api.github.com/users/huangyihe/repos","events_url":"https://api.github.com/users/huangyihe/events{/privacy}","received_events_url":"https://api.github.com/users/huangyihe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-20T18:33:08Z","updated_at":"2015-07-20T19:08:17Z","closed_at":null,"body":"The current use of the `detour` bit in `node_base::shadow_state` is simply incorrect (should have noticed it earlier) because the check-before-access pair of lockless readers is not atomic. We should probably send the reader spinning instead (since we are just copying data over a couple pre-fetched cache lines)."},"comment":{"url":"https://api.github.com/repos/huangyihe/persistent-mass/issues/comments/122991736","html_url":"https://github.com/huangyihe/persistent-mass/issues/2#issuecomment-122991736","issue_url":"https://api.github.com/repos/huangyihe/persistent-mass/issues/2","id":122991736,"user":{"login":"huangyihe","id":3239204,"avatar_url":"https://avatars.githubusercontent.com/u/3239204?v=3","gravatar_id":"","url":"https://api.github.com/users/huangyihe","html_url":"https://github.com/huangyihe","followers_url":"https://api.github.com/users/huangyihe/followers","following_url":"https://api.github.com/users/huangyihe/following{/other_user}","gists_url":"https://api.github.com/users/huangyihe/gists{/gist_id}","starred_url":"https://api.github.com/users/huangyihe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huangyihe/subscriptions","organizations_url":"https://api.github.com/users/huangyihe/orgs","repos_url":"https://api.github.com/users/huangyihe/repos","events_url":"https://api.github.com/users/huangyihe/events{/privacy}","received_events_url":"https://api.github.com/users/huangyihe/received_events","type":"User","site_admin":false},"created_at":"2015-07-20T19:08:17Z","updated_at":"2015-07-20T19:08:17Z","body":"Never free shadows - use the epoch-based reclamation scheme instead. Add a `lock` bit to `shadow_state` as well as I really need HTM here...\r\n\r\n*There are two pieces of information in a road sign that says \"detour\": 1. there is a detour; 2. here is where you should go instead. The road sign works because it conveys these two pieces of information atomically...*"}}