Re: [PATCH 2/4] x86 mmiotrace: fix relay-buffer-full flag for SMP

2008-02-05 Thread Eric Dumazet
Pekka Paalanen a écrit : On Tue, 05 Feb 2008 21:44:07 +0100 Eric Dumazet <[EMAIL PROTECTED]> wrote: Pekka Paalanen a écrit : diff --git a/arch/x86/kernel/mmiotrace/mmio-mod.c b/arch/x86/kernel/mmiotrace/mmio-mod.c index 82ae920..f492b65 100644 --- a/arch/x86/kernel/mmiotrace/mmio-mod.c +++ b/

Re: [PATCH 2/4] x86 mmiotrace: fix relay-buffer-full flag for SMP

2008-02-05 Thread Pekka Paalanen
On Tue, 05 Feb 2008 21:44:07 +0100 Eric Dumazet <[EMAIL PROTECTED]> wrote: > Pekka Paalanen a écrit : > > diff --git a/arch/x86/kernel/mmiotrace/mmio-mod.c > > b/arch/x86/kernel/mmiotrace/mmio-mod.c > > index 82ae920..f492b65 100644 > > --- a/arch/x86/kernel/mmiotrace/mmio-mod.c > > +++ b/arch/x8

Re: [PATCH 2/4] x86 mmiotrace: fix relay-buffer-full flag for SMP

2008-02-05 Thread Eric Dumazet
Pekka Paalanen a écrit : Relay has per-cpu buffers, but mmiotrace was using only a single flag for detecting buffer full/not-full transitions. The new code makes this per-cpu and actually counts missed events. Signed-off-by: Pekka Paalanen <[EMAIL PROTECTED]> --- arch/x86/kernel/mmiotrace/mmio-

[PATCH 2/4] x86 mmiotrace: fix relay-buffer-full flag for SMP

2008-02-05 Thread Pekka Paalanen
Relay has per-cpu buffers, but mmiotrace was using only a single flag for detecting buffer full/not-full transitions. The new code makes this per-cpu and actually counts missed events. Signed-off-by: Pekka Paalanen <[EMAIL PROTECTED]> --- arch/x86/kernel/mmiotrace/mmio-mod.c | 26 ++