summaryrefslogtreecommitdiff
path: root/include/linux/root_dev.h
diff options
context:
space:
mode:
authorAndrew Morton <akpm@zip.com.au>2002-07-18 21:09:02 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2002-07-18 21:09:02 -0700
commit6a2ea3382b534e937ba2153f4a0c6021e04a1ef5 (patch)
treeee967db238da26f5335651871b04ff1b3a75594e /include/linux/root_dev.h
parentfa08cc8377bf0942822c468cf26581012e69c9c9 (diff)
[PATCH] avoid allocating pte_chains for unshared pages
Patch from David McCracken. It is an optimisation to the rmap pte_chains. In the common case where a page is mapped by only a single pte, we don't need to allocate a pte_chain structure. Just make the page's pte_chain pointer point straight at that pte and flag this with PG_direct.
Diffstat (limited to 'include/linux/root_dev.h')
0 files changed, 0 insertions, 0 deletions