shake_folio(folio); /* * This implies unable to support non-LRU pages except free page.
*/ if (!folio_test_lru(folio) && !folio_test_hugetlb(folio) &&
!is_free_buddy_page(p)) return 0;
/* * do a racy check to make sure PG_hwpoison will only be set for * the targeted owner (or on a free page). * memory_failure() will redo the check reliably inside page lock.
*/
err = hwpoison_filter(&folio->page); if (err) return 0;
/* * Note that the below poison/unpoison interfaces do not involve * hardware status change, hence do not require hardware support. * They are mainly for testing hwpoison in software level.
*/
debugfs_create_file("corrupt-pfn", 0200, hwpoison_dir, NULL,
&hwpoison_fops);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.