brintos

brintos / linux-shallow public Read only

0
0
Text · 1.6 KiB · 00f4e35 Raw
45 lines · plain
1What:		/sys/devices/system/memory/soft_offline_page2Date:		Sep 20093KernelVersion:	2.6.334Contact:	andi@firstfloor.org5Description:6		Soft-offline the memory page containing the physical address7		written into this file. Input is a hex number specifying the8		physical address of the page. The kernel will then attempt9		to soft-offline it, by moving the contents elsewhere or10		dropping it if possible. The kernel will then be placed11		on the bad page list and never be reused.12 13		The offlining is done in kernel specific granularity.14		Normally it's the base page size of the kernel, but15		this might change.16 17		The page must be still accessible, not poisoned. The18		kernel will never kill anything for this, but rather19		fail the offline.  Return value is the size of the20		number, or a error when the offlining failed.  Reading21		the file is not allowed.22 23What:		/sys/devices/system/memory/hard_offline_page24Date:		Sep 200925KernelVersion:	2.6.3326Contact:	andi@firstfloor.org27Description:28		Hard-offline the memory page containing the physical29		address written into this file. Input is a hex number30		specifying the physical address of the page. The31		kernel will then attempt to hard-offline the page, by32		trying to drop the page or killing any owner or33		triggering IO errors if needed.  Note this may kill34		any processes owning the page. The kernel will avoid35		to access this page assuming it's poisoned by the36		hardware.37 38		The offlining is done in kernel specific granularity.39		Normally it's the base page size of the kernel, but40		this might change.41 42		Return value is the size of the number, or a error when43		the offlining failed.44		Reading the file is not allowed.45