[OpenAFS-devel] Building cvs head on Linux 2.6

Jeff Mahoney jeffm@suse.com
Sat, 29 May 2004 11:18:44 -0400


--Kj7319i9nmIyA2yE
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable


There was some recent debugging of a pretty severe race condition that caus=
ed
page->count to be renamed to _count in order to track down direct accesses.

The kernel provides accessors/mutators for the page reference counting in
include/linux/mm.h (page_count, get_page, put_page, etc); Those are more
appropriate.

-Jeff

On Sat, May 29, 2004 at 09:29:49AM -0400, chas williams (contractor) wrote:
> it appears that your 'struct page' doesnt have a member call count.
> what 2.6 kernel are you using?  what does struct page in linux/mm.h
> look like?
>=20
> In message <1085796367.23995.8.camel@mother-russia>,Ian Delahorne writes:
> >I'm trying to build openafs from the cvs head on Linux 2.6 (after
> >building a working Arla, PAGs and all :-)
> >
> >Everything goes fine until the following compile error:
> >
> >/home/ian/openafs/src/afs/LINUX/osi_vnodeops.c:1383: error: structure ha=
s no member named `count'
> >/home/ian/openafs/src/afs/LINUX/osi_vnodeops.c: In function `afs_linux_w=
ritepage_sync':
> >/home/ian/openafs/src/afs/LINUX/osi_vnodeops.c:1527: error: structure ha=
s no member named `count'
> _______________________________________________
> OpenAFS-devel mailing list
> OpenAFS-devel@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-devel

--=20

--Kj7319i9nmIyA2yE
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQFAuKnTLPWxlyuTD7IRAqreAJ4xKjs663jVYFVhCxVevn/8Me9MgACeItGJ
DM6lHsKGMJRT+I9LTlz8AXY=
=QIRd
-----END PGP SIGNATURE-----

--Kj7319i9nmIyA2yE--