Re: make /dev/pci really readable
From: John-Mark Gurney (gurney_j_at_efn.org)
Date: 06/21/03
- Previous message: David Schultz: "Re: cvs commit: src/sys/fs/nullfs null.h null_subr.c null_vnops.c"
- In reply to: John-Mark Gurney: "Re: make /dev/pci really readable"
- Next in thread: Robert Watson: "Re: make /dev/pci really readable"
- Reply: Robert Watson: "Re: make /dev/pci really readable"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 20 Jun 2003 18:10:02 -0700 To: Bruce Evans <bde@zeta.org.au>, Robert Watson <rwatson@freebsd.org>, arch@freebsd.org
John-Mark Gurney wrote this message on Mon, Jun 16, 2003 at 22:29 -0700:
> Bruce Evans wrote this message on Tue, Jun 17, 2003 at 12:36 +1000:
> > On Mon, 16 Jun 2003, Robert Watson wrote:
> > > It looks like (although I haven't tried), user processes can
> > > also cause the kernel to allocate unlimited amounts of kernel memory,
> > > which is another bit we probably need to tighten down.
> >
> > Much more serious.
>
> Yep, the pattern_buf is allocated, and in some cases a berak happens
> w/o freeing it. So there is a memory leak her. Will be fixed soon.
Ok, I think I have a good patch. It's attached. Fixes the memory
leak. I have also fix the pci manpage to talk about the errors, but
it isn't included in the patch.
--
John-Mark Gurney Voice: +1 415 225 5579
"All that I will do, has been done, All that I have, has not."
_______________________________________________
freebsd-arch@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
- text/plain attachment: pci_user2.patch
- Previous message: David Schultz: "Re: cvs commit: src/sys/fs/nullfs null.h null_subr.c null_vnops.c"
- In reply to: John-Mark Gurney: "Re: make /dev/pci really readable"
- Next in thread: Robert Watson: "Re: make /dev/pci really readable"
- Reply: Robert Watson: "Re: make /dev/pci really readable"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|