Messages in this thread | | | Date | Mon, 19 Nov 2007 16:53:13 -0800 (PST) | Subject | Re: [perfmon] Re: [perfmon2] perfmon2 merge news | From | David Miller <> |
| |
From: Stephane Eranian <eranian@hpl.hp.com> Date: Mon, 19 Nov 2007 14:48:46 -0800
> Looks like we will have to use bytes (u8) instead. This may have some > performance impact as well. Several bitmaps are used in the context/interrupt > routines. Even with u8, there is still a problem with the bitmap*() macros. > Now, only a small subset of the bitmap() macros are used, so it may be okay > to duplicate them for u8.
I think it would be fine to just create a set of bitop interfaces that operate on u32 objects instead of "unsigned long".
Currently perfmon2 does not need the atomic variants at all, and those could thus be provided entirely under include/asm-generic/bitops/ - 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/
| |