Re: cryptoapi highmem bug
From: Andrew Morton
Date: Wed Feb 25 2004 - 01:04:10 EST
Jean-Luc Cooke <jlcooke@xxxxxxxxxxxxxx> wrote:
>
> How do I check for equal real addresses from two virtual ones?
I don't think there is a practical way of doing this. It would involve
comparing the virtual address with the kmap and atomic kmap regions,
performing a pagetable walk, extracting the pageframe. If the page is not
in a kmap area generate the pageframe directly. Make that work on all
architectures. Very yuk.
If practical this API should have been defined in terms of
(page/offset/len) and it should have kmapped the pages itself. I guess
it's too late for that.
-
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/