Hi Avi, On Tue, May 24, 2011 at 2:30 PM, Avi Kivity <avi@xxxxxxxxxx> wrote: > What happens when you start using userspace libraries? > > Eventually you'll have a lot more of that than kernel code. I don't quite understand what problems you think we might have. We're already using userspace libraries (libvnc) and most of us code is non-kernel code. We switched to u64 and friends for two reasons: (1) using uint*_t turned out to be painful when using kernel headers (e.g., mptables, e820, etc.) and (2) we want to be as close as possible to the coding style of tools/perf to be able to reuse their code in the future. On Tue, May 24, 2011 at 2:30 PM, Avi Kivity <avi@xxxxxxxxxx> wrote: > Like Paolo said, you can have the constructor register a function or > structure to be called any time you like. Oh, okay. We should probably start out with that and switch to section tricks if we have to. Pekka -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html