]> git.hungrycats.org Git - linux/commit
[PATCH] initialise page->private
authorAndrew Morton <akpm@osdl.org>
Thu, 7 Aug 2003 04:15:16 +0000 (21:15 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Thu, 7 Aug 2003 04:15:16 +0000 (21:15 -0700)
commitc987cb10a5f9a323b392a9883355a5f22f5585de
tree5aa93c188b92135f0a49d47f7745e4547084c2e9
parent93ecfc23515a74c591fa6d2cf7e61b2a0f06def2
[PATCH] initialise page->private

From: Nathan Scott <nathans@sgi.com>

XFS wants to use page->private as a bitmap of uptodate indicators for
sub-page-sized blocks (which is one of the things ->provate was intended
for).

But someone needs to initialise ->private somewhere.  best to do it in the
page allocator, so the zeroness of a new page's ->private becomes a
system-wide thing.
mm/page_alloc.c