Messages in this thread |  | | Subject | Re: [ckrm-tech] [PATCH 6/7] BC: kernel memory (core) | From | Dave Hansen <> | Date | Tue, 05 Sep 2006 09:21:34 -0700 |
| |
On Mon, 2006-09-04 at 16:23 +0400, Kirill Korotaev wrote: > > are you suggesting the code like this: > >>+#ifdef CONFIG_BEANCOUNTERS > >>+ union { > >>+ struct beancounter *page_bc; > >>+ }; > >>+#endif > >> }; > > #define page_bc(page) ((page)->page_bc)
That would be a bit better. Although, I think the "page_" bit is also superfluous.
-- Dave
- 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/
|  |