AsiaBSDCon 2014 WIP session: Improving MII PHY

2014-03-19 Thread Masanobu SAITOH
And, I put my slide of AsiaBSDCon 2014 Working In Progress session at: http://www.netbsd.org/~msaitoh/Improving_MII_PHY.pdf Thanks. -- --- SAITOH Masanobu (msai...@execsw.org

Re: Enhance ptyfs to handle multiple instances.

2014-03-19 Thread Ilya Zykov
Hello! For not accumulate many changes and keep patch clear. I am sending some error fix and modifications for future work and discussion too. Please, if possible, include it in current tree. Little explanations: 1. We shouldn't mount more than one ptyfs.(dependency from unmount order).

Re: Enhance ptyfs to handle multiple instances.

2014-03-19 Thread Ilya Zykov
| *--bp = '\0'; | - error = getcwd_common(cwdi-cwdi_rdir, rootvnode, bp, | + error = getcwd_common(mp-mnt_vnodecovered, cwdi-cwdi_rdir, bp, | buf, MAXBUF / 2, 0, l); Might as well pass NULL for cwdi-cwdi_rdir, since it does the same. But it is less obvious, and haven't

Re: Enhance ptyfs to handle multiple instances.

2014-03-19 Thread Christos Zoulas
On Mar 19, 9:51pm, net...@izyk.ru (Ilya Zykov) wrote: -- Subject: Re: Enhance ptyfs to handle multiple instances. | Ok, but bug will stay in the system, temporarily. No problem, no worse than we have now. christos | | fs/ptyfs/ptyfs_vfsops.c | 16 +++- | kern/tty_ptm.c |

Re: Enhance ptyfs to handle multiple instances.

2014-03-19 Thread Ilya Zykov
| People did not like that. | | Didn't like what if 1 or return EBUSY? The return EBUSY... Ok, but bug will stay in the system, temporarily. fs/ptyfs/ptyfs_vfsops.c | 16 +++- kern/tty_ptm.c |9 - 2 files changed, 19 insertions(+), 6 deletions(-) Ilya.

Re: Enhance ptyfs to handle multiple instances.

2014-03-19 Thread Paul_Koning
On Mar 19, 2014, at 1:17 PM, Ilya Zykov net...@izyk.ru wrote: |*--bp = '\0'; | - error = getcwd_common(cwdi-cwdi_rdir, rootvnode, bp, | + error = getcwd_common(mp-mnt_vnodecovered, cwdi-cwdi_rdir, bp, |buf, MAXBUF / 2, 0, l); Might as well pass NULL for cwdi-cwdi_rdir, since