Re: mm: how to check for kernel pages

From: Arjan van de Ven
Date: Sun Feb 04 2007 - 08:57:50 EST


On Sun, 2007-02-04 at 12:02 +0100, Michal Hocko wrote:
> Hi,
> is there any effective and fast way how to find out whether page
> given by its page frame number is currenly used by (mapped by) kernel?

what do you want to use this for? The answer to your question greatly
depends on that...

Specifically, do you want to know if it's a kernel allocated page or a
kernel mapped page? (Those are different concepts)
Also can you deal with false negatives/positives?


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