[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [RFC] thunk.c / thunk.h bugfix
From: |
J. Mayer |
Subject: |
[Qemu-devel] [RFC] thunk.c / thunk.h bugfix |
Date: |
Sun, 18 Nov 2007 16:55:46 +0100 |
There's a problem in thunk.h as 2 possibly recursive functions are
declared as inline. There could be 2 solutions for this. We can never
inline those functions and move them to thunk.c (see the attached
patch). The drawback is that all cases that do not recurse would be less
efficient. The other solution would be to call another intermediary
function that would not be inlined to handle the recursive case.
The second solution may be better as it would keep the "fast" cases
inlined.
--
J. Mayer <address@hidden>
Never organized
thunk.diff
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [RFC] thunk.c / thunk.h bugfix,
J. Mayer <=