Re: Accessing copy_to_user() from interrupt handler?

Matthias Urlichs (
25 Nov 1996 08:44:25 +0100

In, article <>,
Klaus-Georg Adams <> writes:
> This brings us back to the problem of kmalloc()ing ca. 1MB reliably. I
> prefer allocating the buffer in the ccd_open() rather than in
> module_init(). And so far there is no way to tell kmalloc() to page
> out a couple of user pages if memory is running low instead of
> failing. vmalloc() works, but then you don't want page faults when
> reading from the CCD.
It seems that vmalloc needs an option to actually allocate the pages it
maps (I was assuming it does that already?).

Trapped, like a trap in a trap.
             -- Dorothy Parker
Matthias Urlichs         \  noris network GmbH  /  Xlink-POP Nürnberg 
Schleiermacherstraße 12   \   Linux+Internet   /   EMail:
90491 Nürnberg (Germany)   \    Consulting+Programming+Networking+etc'ing
   PGP: 1024/4F578875   1B 89 E2 1C 43 EA 80 44  15 D2 29 CF C6 C7 E0 DE
       Click <A HREF="">here</A>.    42