Re: [patch 4/8] mm: allow not updating BDI stats inend_page_writeback()

From: Miklos Szeredi
Date: Wed Mar 19 2008 - 20:23:53 EST


> > Well, but this is the kernel, you can't really make foolproof
> > interfaces. If we'll go with Andrew's suggestion, I'll add comments
> > warning users about not touching those flags unless they know what
> > they are doing, OK?
>
> Yeah, I guess so :-)

Cool :)

On a related note, is there a reason why bdi_cap_writeback_dirty() and
friends need to be macros instead of inline functions? If not I'd
clean that up as well.

Miklos
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/