sysfs-memory-page-offline 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. What: /sys/devices/system/memory/soft_offline_page
  2. Date: Sep 2009
  3. KernelVersion: 2.6.33
  4. Contact: andi@firstfloor.org
  5. Description:
  6. Soft-offline the memory page containing the physical address
  7. written into this file. Input is a hex number specifying the
  8. physical address of the page. The kernel will then attempt
  9. to soft-offline it, by moving the contents elsewhere or
  10. dropping it if possible. The kernel will then be placed
  11. on the bad page list and never be reused.
  12. The offlining is done in kernel specific granuality.
  13. Normally it's the base page size of the kernel, but
  14. this might change.
  15. The page must be still accessible, not poisoned. The
  16. kernel will never kill anything for this, but rather
  17. fail the offline. Return value is the size of the
  18. number, or a error when the offlining failed. Reading
  19. the file is not allowed.
  20. What: /sys/devices/system/memory/hard_offline_page
  21. Date: Sep 2009
  22. KernelVersion: 2.6.33
  23. Contact: andi@firstfloor.org
  24. Description:
  25. Hard-offline the memory page containing the physical
  26. address written into this file. Input is a hex number
  27. specifying the physical address of the page. The
  28. kernel will then attempt to hard-offline the page, by
  29. trying to drop the page or killing any owner or
  30. triggering IO errors if needed. Note this may kill
  31. any processes owning the page. The kernel will avoid
  32. to access this page assuming it's poisoned by the
  33. hardware.
  34. The offlining is done in kernel specific granuality.
  35. Normally it's the base page size of the kernel, but
  36. this might change.
  37. Return value is the size of the number, or a error when
  38. the offlining failed.
  39. Reading the file is not allowed.