Re: [ckrm-tech] [PATCH 6/7] BC: kernel memory (core)

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

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux