git: kernel - More tty and devfs race fixes

看板DFBSD_commit作者時間15年前 (2010/08/13 12:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 2281ff2e747640a3804f657da1ffadfb3f93eb75 Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Thu Aug 12 21:09:13 2010 -0700 kernel - More tty and devfs race fixes * Refactor the unix98 pty code to consolidate termination handling and add flags to deal with close() races. * Rename devfs_clone_bitmap_rst() to devfs_clone_bitmap_put() * devfs_clone_bitmap_put() now syncs devfs messages before clearing the bitmap bit, to ensure that related destroy_dev()s complete before the unit number becomes available for a new allocation again. Reported-by: swildner Summary of changes: sys/dev/netif/iwi/if_iwi.c | 2 +- sys/kern/tty_pty.c | 186 ++++++++++++++++++++++++++++-------------- sys/sys/devfs.h | 3 +- sys/vfs/devfs/devfs_helper.c | 14 +++- 4 files changed, 137 insertions(+), 68 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2281ff2e747640a3804f657da1ffadfb3f93eb75 -- DragonFly BSD source repository
文章代碼(AID): #1CPCh70D (DFBSD_commit)