mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 12:12:45 +00:00 
			
		
		
		
	Kernel: If a VMObject is shared, broadcast page remappings
If we remap pages (e.g. lazy allocation) inside a VMObject that is shared among more than one region, broadcast it to any other region that may be mapping the same page.
This commit is contained in:
		
							parent
							
								
									e3190bd144
								
							
						
					
					
						commit
						c630669304
					
				
					 5 changed files with 117 additions and 18 deletions
				
			
		|  | @ -46,6 +46,7 @@ VMObject::VMObject(size_t size) | |||
| VMObject::~VMObject() | ||||
| { | ||||
|     MM.unregister_vmobject(*this); | ||||
|     ASSERT(m_regions_count.load(AK::MemoryOrder::memory_order_relaxed) == 0); | ||||
| } | ||||
| 
 | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Tom
						Tom