★ wanayoo — archive 1999 http://www.kernelnotes.org/patch/21-p0327.htmlNouvelle recherche | Portail wanayoo

get_free_inode() Performance Fix

Ingo Molnar (mingo@pc5829.hil.siemens.at)
Wed Apr 2 09:31:00 1997

[Home] [Linux 2.0] [Linux 2.1] [Information] [Software] [Distributions] [Links]

21-get_free-inode.patch
the problem is that free inodes are inserted in chunks, and get_free_inode() gets the wrong end ... by moving first_inode we can get around this: free inodes get always inserted before first_inode and we search the list backwards.

( i've noticed this one, but Thomas Schoebel-Theuer wrote me about his new inode implementation, so i didnt care about it. Then Linus put my half-done patch suggestion into 2.1.30 ... )




[Home] [Up] [Search] [FeedBack]

Copyleft © The LinuxHQ Project. Licensed under the GNU Public License.