lkml.org 
[lkml]   [1996]   [Nov]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Accessing copy_to_user() from interrupt handler?
Date

In linux.dev.kernel, article <qm4tii8pyj.fsf@chemie.uni-karlsruhe.de>,
Klaus-Georg Adams <Klaus-Georg.Adams@chemie.uni-karlsruhe.de> 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: urlichs@noris.de
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="http://info.noris.de/~smurf/finger">here</A>. 42

\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.043 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site