Re: replace incorrect memcpy_user_stub code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Chris Torek <chris.torek@xxxxxxxxxxxxx>
Date: Thu, 18 Dec 2008 19:08:57 -0700

> I'll send this formatted against the old kernel, not sparc-next
> (did get the latter all cloned up, but have not yet started working
> with it).
> 
> This came up in testing kgdb, using the built-in tests -- turn
> on CONFIG_KGDB_TESTS, then
> 
>     echo V1 > /sys/module/kgdbts/parameters/kgdbts
> 
> -- but it would affect using kgdb if you were debugging and looking
> at bad pointers.
> 
> You will probably want to tweak it anyway (especially the comment
> in the .S file: I thought use of KERNEL_DS was more rare than it
> is, though it probably *should* be more rare than it is...).

This is going to perform really bad, and it's common for
syscalls invoked by the kernel to trigger this case.

I'll have to think about this, thanks for pointing out the
issue.
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux