Re: [PATCH 1/1] x86: fix text_poke

From: Andi Kleen
Date: Fri Apr 25 2008 - 12:50:54 EST


> I suspect I should have just kept using vmap(), even if I do dislike just
> how insanely expensive that likely is.

If it's really a problem it would be better to just batch it and extract
it into a separate function. The larger scale callers of text_poke() are
loops, so you could just map it once before the loop and then unmap after.
But I haven't heard about anyone complaining about this.

-Andi
--
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/