Request for PTY/devfs changes
Poul-Henning Kamp
phk at phk.freebsd.dk
Tue Jan 9 06:33:21 UTC 2007
In message <200701081750.59131.jhb at freebsd.org>, John Baldwin writes:
>On Monday 08 January 2007 14:29, Poul-Henning Kamp wrote:
>Unfortunately the pty uses 'make_dev_cred' with a specific credential and that
>credential reference is what is not getting released.
devfs needs to learn about that cred if the cdev is marked cheap.
>> In that case the cdev gets recycled quite fast if unreferenced.
>
>How does devfs know to recycle the cdev? And will it recycle cdev's after
>they are closed?
via the normal vnode cleaup.
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the freebsd-arch
mailing list