]> Git Repo - linux.git/blobdiff - mm/page_isolation.c
mm, page_alloc: disable pcplists during memory offline
[linux.git] / mm / page_isolation.c
index feab446d198282f81f086a746f70320a6f411141..a254e1f370a3ca79bc27093d5695b4b357a8250d 100644 (file)
@@ -174,9 +174,9 @@ __first_valid_page(unsigned long pfn, unsigned long nr_pages)
  * A call to drain_all_pages() after isolation can flush most of them. However
  * in some cases pages might still end up on pcp lists and that would allow
  * for their allocation even when they are in fact isolated already. Depending
- * on how strong of a guarantee the caller needs, further drain_all_pages()
- * might be needed (e.g. __offline_pages will need to call it after check for
- * isolated range for a next retry).
+ * on how strong of a guarantee the caller needs, zone_pcp_disable/enable()
+ * might be used to flush and disable pcplist before isolation and enable after
+ * unisolation.
  *
  * Return: 0 on success and -EBUSY if any part of range cannot be isolated.
  */
This page took 0.028587 seconds and 4 git commands to generate.