[Q] vmalloc and interrupt handler
From: Tsuyoshi (bz800k_at_hotmail.com)
Date: 04/22/04
- Previous message: H Brett Bolen: "Re: Interrupt Service Routine (ISR) for Linux?"
- Next in thread: Tuukka Toivonen: "Re: [Q] vmalloc and interrupt handler"
- Reply: Tuukka Toivonen: "Re: [Q] vmalloc and interrupt handler"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 21 Apr 2004 19:37:33 -0700
Hi.
I'm trying to write a simple device driver using a lot of memory.
It seems that vmalloc() is not available in interrupt handler, because
it may sleep.
So, I changed my code such that vmalloc() is only called in driver's open function,
and interrupt handler only access the memory already allocated by vmalloc().
Then I have a question.
Does this memory area allocated by vmalloc() have a possibility to be paged out?
If this area paged out, interrupt handler cannot access the area(because
interrupt handler must sleep until page-in handler done.)
Please help me.
Thanks !!!
- Previous message: H Brett Bolen: "Re: Interrupt Service Routine (ISR) for Linux?"
- Next in thread: Tuukka Toivonen: "Re: [Q] vmalloc and interrupt handler"
- Reply: Tuukka Toivonen: "Re: [Q] vmalloc and interrupt handler"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|