mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Lock page with HIGHMEM
@ 2005-10-27 23:52 Mishael A Sibiryakov
  2005-10-28  1:43 ` Fawad Lateef
  0 siblings, 1 reply; 2+ messages in thread
From: Mishael A Sibiryakov @ 2005-10-27 23:52 UTC (permalink / raw)
  To: linux-kernel


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 ?



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-10-28  1:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-27 23:52 Lock page with HIGHMEM Mishael A Sibiryakov
2005-10-28  1:43 ` Fawad Lateef

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®