mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 18:52:45 +00:00 
			
		
		
		
	 7f843ef3b2
			
		
	
	
		7f843ef3b2
		
	
	
	
	
		
			
			I don't think we need to give unprivileged users access to what is essentially a kernel testing mechanism.
		
			
				
	
	
		
			28 lines
		
	
	
	
		
			457 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
	
		
			457 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| ## Name
 | |
| 
 | |
| purge - release memory
 | |
| 
 | |
| ## Synopsis
 | |
| 
 | |
| ```**sh
 | |
| $ purge [options]
 | |
| ```
 | |
| 
 | |
| ## Description
 | |
| 
 | |
| This program instructs the kernel to release memory that can
 | |
| be released without interacting with its userspace owner(s).
 | |
| 
 | |
| ## Options
 | |
| 
 | |
| * `-c`: Release all clean inode-backed memory.
 | |
| * `-v`: Release all purgeable memory currently marked volatile.
 | |
| 
 | |
| If no options are specified, all possible memory is released.
 | |
| 
 | |
| ## Examples
 | |
| 
 | |
| ```sh
 | |
| # purge
 | |
| Purged page count: 744
 | |
| ```
 |