cvs commit: src/sys/dev/drm r128_state.c
Jacques A. Vidrine
nectar at FreeBSD.org
Mon Feb 23 04:57:52 PST 2004
On Sun, Feb 22, 2004 at 07:18:18PM -0800, Robert Watson wrote:
> rwatson 2004/02/22 19:18:18 PST
>
> FreeBSD src repository
>
> Modified files:
> sys/dev/drm r128_state.c
> Log:
> Limit the amount of memory userspace processes can cause the kernel to
> allocate via DRI on r128 devices.
>
> Obtained from: Thomas Biege <thomas at suse.de>
> Reviewed by: scottl
>
> Revision Changes Path
> 1.9 +17 -0 src/sys/dev/drm/r128_state.c
FWIW
The issue was discovered in the Linux kernel and reported by Alan Cox.
Alan came up with the initial patch; Thomas added the `count <= 0'
and the redundant `count * sizeof' checks.
Cheers,
--
Jacques Vidrine / nectar at celabo.org / jvidrine at verio.net / nectar at freebsd.org
More information about the cvs-src
mailing list