* [PATCH] accel/tcg: remove redundant TCG_KICK_PERIOD define
@ 2021-08-11 14:12 Luc Michel
2021-08-11 18:01 ` Richard Henderson
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Luc Michel @ 2021-08-11 14:12 UTC (permalink / raw)
To: qemu-devel; +Cc: Luc Michel, qemu-trivial, Richard Henderson, Paolo Bonzini
The TCG_KICK_PERIOD macro is already defined in tcg-accel-ops-rr.h.
Remove it from tcg-accel-ops-rr.c.
Signed-off-by: Luc Michel <lmichel@kalray.eu>
---
accel/tcg/tcg-accel-ops-rr.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/accel/tcg/tcg-accel-ops-rr.c b/accel/tcg/tcg-accel-ops-rr.c
index c02c061ecb..a5fd26190e 100644
--- a/accel/tcg/tcg-accel-ops-rr.c
+++ b/accel/tcg/tcg-accel-ops-rr.c
@@ -58,12 +58,10 @@ void rr_kick_vcpu_thread(CPUState *unused)
*/
static QEMUTimer *rr_kick_vcpu_timer;
static CPUState *rr_current_cpu;
-#define TCG_KICK_PERIOD (NANOSECONDS_PER_SECOND / 10)
-
static inline int64_t rr_next_kick_time(void)
{
return qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL) + TCG_KICK_PERIOD;
}
--
2.17.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] accel/tcg: remove redundant TCG_KICK_PERIOD define
2021-08-11 14:12 [PATCH] accel/tcg: remove redundant TCG_KICK_PERIOD define Luc Michel
@ 2021-08-11 18:01 ` Richard Henderson
2021-08-12 7:23 ` Philippe Mathieu-Daudé
2021-08-16 17:48 ` Richard Henderson
2 siblings, 0 replies; 4+ messages in thread
From: Richard Henderson @ 2021-08-11 18:01 UTC (permalink / raw)
To: Luc Michel, qemu-devel; +Cc: qemu-trivial, Paolo Bonzini
On 8/11/21 4:12 AM, Luc Michel wrote:
> The TCG_KICK_PERIOD macro is already defined in tcg-accel-ops-rr.h.
> Remove it from tcg-accel-ops-rr.c.
>
> Signed-off-by: Luc Michel<lmichel@kalray.eu>
> ---
> accel/tcg/tcg-accel-ops-rr.c | 2 --
> 1 file changed, 2 deletions(-)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
r~
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] accel/tcg: remove redundant TCG_KICK_PERIOD define
2021-08-11 14:12 [PATCH] accel/tcg: remove redundant TCG_KICK_PERIOD define Luc Michel
2021-08-11 18:01 ` Richard Henderson
@ 2021-08-12 7:23 ` Philippe Mathieu-Daudé
2021-08-16 17:48 ` Richard Henderson
2 siblings, 0 replies; 4+ messages in thread
From: Philippe Mathieu-Daudé @ 2021-08-12 7:23 UTC (permalink / raw)
To: Luc Michel, qemu-devel; +Cc: qemu-trivial, Paolo Bonzini, Richard Henderson
On 8/11/21 4:12 PM, Luc Michel wrote:
> The TCG_KICK_PERIOD macro is already defined in tcg-accel-ops-rr.h.
> Remove it from tcg-accel-ops-rr.c.
>
> Signed-off-by: Luc Michel <lmichel@kalray.eu>
> ---
> accel/tcg/tcg-accel-ops-rr.c | 2 --
> 1 file changed, 2 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] accel/tcg: remove redundant TCG_KICK_PERIOD define
2021-08-11 14:12 [PATCH] accel/tcg: remove redundant TCG_KICK_PERIOD define Luc Michel
2021-08-11 18:01 ` Richard Henderson
2021-08-12 7:23 ` Philippe Mathieu-Daudé
@ 2021-08-16 17:48 ` Richard Henderson
2 siblings, 0 replies; 4+ messages in thread
From: Richard Henderson @ 2021-08-16 17:48 UTC (permalink / raw)
To: Luc Michel, qemu-devel; +Cc: qemu-trivial, Paolo Bonzini
On 8/11/21 4:12 AM, Luc Michel wrote:
> The TCG_KICK_PERIOD macro is already defined in tcg-accel-ops-rr.h.
> Remove it from tcg-accel-ops-rr.c.
>
> Signed-off-by: Luc Michel<lmichel@kalray.eu>
> ---
> accel/tcg/tcg-accel-ops-rr.c | 2 --
> 1 file changed, 2 deletions(-)
Queued.
r~
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-08-16 17:49 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-11 14:12 [PATCH] accel/tcg: remove redundant TCG_KICK_PERIOD define Luc Michel
2021-08-11 18:01 ` Richard Henderson
2021-08-12 7:23 ` Philippe Mathieu-Daudé
2021-08-16 17:48 ` Richard Henderson
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.