Re: [patch 2] mm: speculative get_page

Pavel Machek
2005-06-29T16:31:00Z

Hi!

> >There are a couple of bits which imply ownership such as PG_slab,
> >PG_swapcache and PG_reserved which to my mind are all exclusive.
> >Perhaps those plus the PG_free could be combined into a owner field. I
> >am unsure if the PG_freeing can be 'backed out' if not it may also combine?
>
> I think there are a a few ways that bits can be reclaimed if we
> start digging. swsusp uses 2 which seems excessive though may be
> fully justified. Can PG_private be replaced by (!page->private)?
> Can filesystems easily stop using PG_checked?

It is possible that swsusp could reduce its bit usage... Current stuff
works, but probably does not need strong atomicity guarantees, and
could use some bit combination...
Pavel
--
teflon -- maybe it is a trademark, but it should not be.