lkml.org 
[lkml]   [2014]   [Dec]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Remove TO DO in jfs_xtree.c
On 12/29/2014 09:48 PM, tytso@mit.edu wrote:
> On Mon, Dec 29, 2014 at 04:13:37PM -0600, Dave Kleikamp wrote:
>> On 12/27/2014 06:58 PM, nick wrote:
>>> Greetings Dave,
>>> I am wondering why there is a TO DO above this code:
>>> * ToDo: tlocks should be on doubly-linked list, so we can
>>> * quickly remove it and add it to the end.
>>
>> I'm sure the idea was to avoid the for loop needed to find the previous
>> entry in the linked list. A doubly-linked list makes it much simpler to
>> remove an item from an arbitrary position in the list.
>
> Hi Dave,
>
> Just in case you weren't aware, Nick has been banned from the LKML
> list for being a troll.

Thanks, Ted. Now I remember some earlier threads. Forgot it was the same
person. Just figured him for a novice looking for something to contribute.

Thanks,
Shaggy


\
 
 \ /
  Last update: 2014-12-30 05:21    [W:0.150 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site