]> git.karo-electronics.de Git - karo-tx-linux.git/commit
pagemap: introduce pagemap_entry_t without pmshift bits
authorPavel Emelyanov <xemul@parallels.com>
Wed, 19 Jun 2013 00:05:47 +0000 (10:05 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 19 Jun 2013 07:12:53 +0000 (17:12 +1000)
commitb6062a760e1b1a1379d6836a1bdf1ff3966b34ed
tree7c741f535eb2b4d5dab239ebd65d124cd46c407c
parent55b5e3aef4faa70c609eb5b36b6a71e7f831ef84
pagemap: introduce pagemap_entry_t without pmshift bits

These bits are always constant (== PAGE_SHIFT) and just occupy space in
the entry.  Moreover, in next patch we will need to report one more bit in
the pagemap, but all bits are already busy on it.

That said, describe the pagemap entry that has 6 more free zero bits.

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
Cc: Matt Mackall <mpm@selenic.com>
Cc: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Cc: Glauber Costa <glommer@parallels.com>
Cc: Marcelo Tosatti <mtosatti@redhat.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/proc/task_mmu.c