#define PG_reclaim 17 /* To be reclaimed asap */
#define PG_nosave_free 18 /* Free, should not be written */
#define PG_buddy 19 /* Page is free, on buddy lists */
-+#define PG_constant 20 /* To mark if the page is constant */
++#define PG_constant 21 /* To mark if the page is constant */
#define PG_xpmem 27 /* Testing for xpmem. */
/* PG_owner_priv_1 users should have descriptive aliases */
#include <linux/syscalls.h>
#include <linux/cpuset.h>
+#include <linux/rmap.h>
- #include "filemap.h"
+ #include <linux/hardirq.h> /* for BUG_ON(!in_atomic()) only */
+ #include <trace/mm.h>
#include "internal.h"
-
@@ -567,11 +568,55 @@
if (!test_clear_page_writeback(page))
BUG();