Re: might_sleep warning in both 41 and 41-mm1

From: Martin J. Bligh (
Date: Tue Oct 08 2002 - 12:38:17 EST

> 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 ;-)

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:25 EST