lkml.org 
[lkml]   [2004]   [Nov]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectkmap_atomic
Hi,

I would like to know if I can use kmap_atomic with KM_USER[01] type
within a non-interrupt context. Looking at comments near kmap_atomic
declarations on sparc or ppc, it seems that this is discouraged.

But lots of code (like filesystem stuff) are currently using it
outside of interrupt context.
Are there special requirements about KM_USER[01] usage in interrupt
or non-interrupt contexts ?
Is it documented somewhere how we can use it ?

What I want to do is just kmap_atomic, copy and kunmap_atomic.

Regards,
--
Brice Goglin
================================================
Ph.D Student
Laboratoire de l'Informatique et du Parallélisme
CNRS-ENS Lyon-INRIA-UCB Lyon
France
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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