Lock page with HIGHMEM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi.

I have "little" troubles with HIGHMEM.

The situation:
I have a some pages which allocated via kmalloc(), after this pages is
locked by get_page(). This pages is used in interrupt context, also in
#PF too. When this code working on kernel without HIGHMEM support, then
everything is fine. But when kernel with HIGHMEM then pages will be
unmapped from linear space (i think) and i have a triple exception and
you know that happens further :)
I've try lock pages via get_user_pages, w/wo vma, by set
SetPageReserved , Locked and etc. But nothing.

How i can avoid this problem ? E.g. how i can lock page in kernel and be
assured about that that it will not be unmapped, and can be accessed via
linear address every time ?


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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux