mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 15:32:46 +00:00 
			
		
		
		
	Revert "Kernel: Allocate shared memory regions immediately"
This reverts commit fe6b3f99d1.
			
			
This commit is contained in:
		
							parent
							
								
									4bc33ee3ae
								
							
						
					
					
						commit
						e3190bd144
					
				
					 3 changed files with 2 additions and 8 deletions
				
			
		|  | @ -282,12 +282,6 @@ bool Region::map_individual_page_impl(size_t page_index) | |||
|     if (!page || (!is_readable() && !is_writable())) { | ||||
|         pte->clear(); | ||||
|     } else { | ||||
|         if (is_shared()) { | ||||
|             // Shared memory should not be lazily populated!
 | ||||
|             ASSERT(!page->is_shared_zero_page()); | ||||
|             ASSERT(!page->is_lazy_committed_page()); | ||||
|         } | ||||
| 
 | ||||
|         pte->set_cache_disabled(!m_cacheable); | ||||
|         pte->set_physical_page_base(page->paddr().get()); | ||||
|         pte->set_present(true); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Tom
						Tom