[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: page-flags.h



On Thu, May 02, 2002 at 07:52:40PM -0700, Andrew Morton wrote:
> > That's a good point, and something I completley overlooked.
> > I wonder if Andrew Morton (who I'm guessing wrote that comment
> > in mm.h) has some ingenious plan here..
> 
> who, me?
> 
> I'd envisaged those 119 files doing:
> 
> #include <linux/mm.h>
> #include <linux/page-flags.h>
> 
> so then anything which includes mm.h but doesn't do any PageFoo()
> operations doesn't have to process those macros.

Okay, that makes some sense.  I still think it's preferrable to
have <linux/page.h>  - many filesystems only need struct page, the
flags and few supporting functions, so do drivers using kiobufs.

Having these no need the rest of the MM internals is a good thing (TM).

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/