]> git.hungrycats.org Git - linux/commit
[PATCH] Infrastructure for atomic user accesses
authorAndrew Morton <akpm@zip.com.au>
Sat, 10 Aug 2002 11:40:05 +0000 (04:40 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Sat, 10 Aug 2002 11:40:05 +0000 (04:40 -0700)
commit199143a8610cc639b7b9de2803fc812f99eb7951
tree00ff41458d1721ca21e437a61481ac553c6dd68a
parent1dd4dd0c4e2ca1f088add68a89c522b93097cc48
[PATCH] Infrastructure for atomic user accesses

Well the optimum solution there would be to create and use
`inc_preempt_count_non_preempt()'.  I don't see any
way of embedding this in kmap_atomic() or copy_to_user_atomic()
without loss of flexibility or incurring a double-inc somewhere.
arch/i386/mm/fault.c
include/linux/preempt.h