Re: [ofa-general] Re: [GIT PULL] please pull ummunotify

From: Ingo Molnar
Date: Tue Oct 13 2009 - 02:42:19 EST



* Jason Gunthorpe <jgunthorpe@xxxxxxxxxxxxxxxxxxxx> wrote:

> On Mon, Oct 12, 2009 at 10:20:46PM +0200, Ingo Molnar wrote:
> > It might be more acceptable because the flag-hint mechanism can at most
> > cause over-flushing - while with perf events we might miss to invalidate
> > a range altogether.
>
> Right. Overflushing is not important, but missing an event entirely is
> not recoverable (at least within the current kernel APIs).

So if we detect event loss in the perf event case (should not happen
with sufficient buffering but it is a possibility the code should be
prepared for) then we can just flush the [0,-1ULL] range, right?

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/