]> git.itanic.dy.fi Git - scan-pagemap/commit
pagemap.h: Do not use hardcoded maximum number of kpageflags
authorTimo Kokkonen <timo.t.kokkonen@iki.fi>
Sun, 10 Jun 2012 18:37:16 +0000 (21:37 +0300)
committerTimo Kokkonen <timo.t.kokkonen@iki.fi>
Sun, 10 Jun 2012 18:37:16 +0000 (21:37 +0300)
commita4261cff2ba98de4bb6bfd251092169a7fb4cf28
tree1514c66797860bb7f104b3ad99f826eda03580fb
parentc88abbe72ee2b24c7d5d500210853aca89a16e7c
pagemap.h: Do not use hardcoded maximum number of kpageflags

The kpageflag definitions are subject to change. It is better to have
a dynamic maximum defined for this.

Furthermore, the previous maximum was actually wrong. The KSM pages
were never shown even if such pages were present on the system.

Signed-off-by: Timo Kokkonen <timo.t.kokkonen@iki.fi>
pagemap.h