public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* __get_user usage in mm/slab.c
@ 2002-03-12 11:58 Roman Zippel
  2002-03-12 12:43 ` David S. Miller
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Roman Zippel @ 2002-03-12 11:58 UTC (permalink / raw)
  To: linux-kernel; +Cc: ak

Hi,

The way __get_user is currently used in mm/slab.c is not portable. It
breaks on arch which have seperate user/kernel memory space. It still
works during boot or from kernel threads, but /proc/slabinfo shows only 
broken entries or if a module creates a slab cache, I got lots of
warnings.
We have to at least insert a "set_fs(get_fs())", but IMO a separate
interface would be better. Any opinions?

bye, Roman


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-03-12 16:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-12 11:58 __get_user usage in mm/slab.c Roman Zippel
2002-03-12 12:43 ` David S. Miller
2002-03-12 13:18 ` vinolin
2002-03-12 15:23 ` Andi Kleen
2002-03-12 15:25   ` David S. Miller
2002-03-12 16:32   ` Roman Zippel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox