Re: Change vnode free lists to lru lists

2016-12-11 Thread Christos Zoulas
In article <1f2c31e0-c86e-4ba7-9cc3-848df5a5c...@eis.cs.tu-bs.de>, J. Hannken-Illjes wrote: >Vnodes are kept on freelists which means every vget() has to remove >them from the list and the last vrele() has to put them back. > >Changing the lists to lrulists removes the

Change vnode free lists to lru lists

2016-12-11 Thread J. Hannken-Illjes
Vnodes are kept on freelists which means every vget() has to remove them from the list and the last vrele() has to put them back. Changing the lists to lrulists removes the operation from vget() and speeds up namei() on cached vnodes by ~3 percent. Diff is split into three parts for better