lkml.org 
[lkml]   [1996]   [Nov]   [25]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
From(Matthias Urlichs)
SubjectRe: Accessing copy_to_user() from interrupt handler?
Date25 Nov 1996 08:44:25 +0100
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    [from the cache]
©2003-2008