Messages in this thread |  | | | Date | Tue, 6 Oct 1998 20:01:48 +0200 (CEST) | | From | Rik van Riel <> | | Subject | Re: slab allocator |
| |
On 5 Oct 1998, Jason McMullan wrote:
> Is the slab allocator/deallocator safe to call from > interrupt handlers (for stuffing a queue to be dealt with > by the back handler)? > > If not, what about vmalloc/kalloc?
AFAIK, you should do as little as possible from the interrupt handler.
> Even if it is _technically_ safe, why shouldn't I use > it? ;^)
Latency, you need to do as little as possible from the interrupt handler. A nicer solution is to have a small buffer ready that you can use from the interrupt handler.
Rik. +-------------------------------------------------------------------+ | Linux memory management tour guide. H.H.vanRiel@phys.uu.nl | | Scouting Vries cubscout leader. http://www.phys.uu.nl/~riel/ | +-------------------------------------------------------------------+
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
|  |