Re: Convert i_next field in struct inode to a LIST

看板DFBSD_submit作者時間21年前 (2005/04/10 21:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串9/10 (看更多)
On Fri, Apr 08, 2005 at 07:47:19PM -0400, Dheeraj Reddy wrote: > > This suggestion would need list traversal twice. Why twice? The worst case can be avoided by keeping the prevision element. Simon had a macro for that which can be a bit cleaned (to include the previous == NULL aka head case), but is otherwise fine. Joerg
文章代碼(AID): #12MIET00 (DFBSD_submit)
討論串 (同標題文章)
文章代碼(AID): #12MIET00 (DFBSD_submit)