]> git.itanic.dy.fi Git - scan-pagemap/blobdiff - pagemap.h
Show full process argument list instead only executable name
[scan-pagemap] / pagemap.h
index bf431a8de6b1118f5214cf843f629b8703f56e36..2bdaa2ba3cccc4557d1cdd95d95bbd73bc8fd6c6 100644 (file)
--- a/pagemap.h
+++ b/pagemap.h
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2010 Timo Kokkonen <kaapeli@itanic.dy.fi>
+ * Copyright (C) 2010 Timo Kokkonen <timo.t.kokkonen@iki.fi>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -92,8 +92,6 @@ static inline int swap_offset(struct pageframe *p)
        return (BITRANGE(5, 54) & p->pf) >> 5;
 }
 
-#define KPAGEFLAGS_NUM 22
-
 enum kpageflags {
        LOCKED,
        ERROR,
@@ -117,8 +115,12 @@ enum kpageflags {
        HWPOISON,
        NOPAGE,
        KSM,
+       THP,
+       __PAGEFLAGS_LAST,
 };
 
+#define KPAGEFLAGS_NUM __PAGEFLAGS_LAST
+
 struct kpageflag_str {
        int flag;
        char *str;