Re: might_sleep warning in both 41 and 41-mm1

Martin J. Bligh (mbligh@aracnet.com)
Tue, 08 Oct 2002 10:38:17 -0700


> Oh. It seems that the pte mapping functions will run inc_preempt_count()
> via kmap_atomic() even if CONFIG_HIGHPTE=n. So the ifdef around
> page_table_present() needs to be CONFIG_HIGHMEM. Or we don't use
> kmap_atomic() at all in the pte mapping functions.
>
> Please tell me that you had CONFIG_HIGHPTE=n?

Yes. Highpte was off.

Thanks ;-)

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