[EMAIL PROTECTED] wrote on Mon, 23 Jun 2008 09:35 +0300:
> Looking at the implementation of kmap_atomic() quoted bellow:
[..]
> static inline void *kmap_atomic(struct page *page, enum km_type idx)
> {
>         pagefault_disable();
>         return page_address(page);
> }
> 
> I can't see page_address doing anything actively to map the page. It
> just searches for the page and returns it's mapping. But I'm probably
> missing something.

You're looking at the no-highmem version.  Check the one in
arch/x86/mm/highmem_32.c for a more interesting example.

                -- Pete
_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to