Messages in this thread | | | Date | Wed, 29 Jun 2005 18:31:00 +0200 | From | Pavel Machek <> | Subject | Re: [patch 2] mm: speculative get_page |
| |
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. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |