| 
														
															@@ -49,11 +49,10 @@ struct thd_arg { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   bool tracked; 
														 | 
														
														 | 
														
															   bool tracked; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 }; 
														 | 
														
														 | 
														
															 }; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															-// TODO(yunjiaw): move this to a function-level static, or remove the use of a 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-// non-constexpr initializer when possible 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-const size_t page_size = static_cast<size_t>(sysconf(_SC_PAGESIZE)); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															- 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 size_t RoundUpToPageSize(size_t size) { 
														 | 
														
														 | 
														
															 size_t RoundUpToPageSize(size_t size) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  // TODO(yunjiaw): Change this variable (page_size) to a function-level static 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  // when possible 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  size_t page_size = static_cast<size_t>(sysconf(_SC_PAGESIZE)); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   return (size + page_size - 1) & ~(page_size - 1); 
														 | 
														
														 | 
														
															   return (size + page_size - 1) & ~(page_size - 1); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 } 
														 | 
														
														 | 
														
															 } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 |