]> git.hungrycats.org Git - linux/commit
[PATCH] fix page counting for compound pages
authorAndrew Morton <akpm@osdl.org>
Mon, 19 Jan 2004 13:06:28 +0000 (05:06 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Mon, 19 Jan 2004 13:06:28 +0000 (05:06 -0800)
commit3af6d494ee63e97d706178882ccd9245f1932e92
tree7b9566dd64d0dc364b69354b62671a4fe4d7db8d
parentb58f2e6f01c7e57aa1d96a5e7ed56cd7b84d0709
[PATCH] fix page counting for compound pages

From: "Bryan O'Sullivan" <bos@serpentine.com>

For compound pages, page_count needs to be sure to reference the head page.

This affects code that plays tricks with memory mappings into userspace,
which would mostly involve video drivers.
include/linux/mm.h