Date: Mon, 23 Feb 2004 06:57:51 -0600 From: "Jacques A. Vidrine" <nectar@FreeBSD.org> To: Robert Watson <rwatson@FreeBSD.org> Cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/drm r128_state.c Message-ID: <20040223125751.GC15721@madman.celabo.org> In-Reply-To: <200402230318.i1N3IIdN084914@repoman.freebsd.org> References: <200402230318.i1N3IIdN084914@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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@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@celabo.org / jvidrine@verio.net / nectar@freebsd.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040223125751.GC15721>