lkml.org 
[lkml]   [2018]   [Jul]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [QUESTION] llist: Comment releasing 'must delete' restriction before traversing
On Tue, 31 Jul 2018 18:38:09 +0900
Byungchul Park <byungchul.park@lge.com> wrote:

> On Tue, Jul 31, 2018 at 10:52:57AM +0200, Peter Zijlstra wrote:
> > On Tue, Jul 31, 2018 at 09:58:36AM +0900, Byungchul Park wrote:
> > > In restrictive cases like only addtions happen but never deletion, can't
> > > we safely traverse a llist? I believe llist can be more useful if we can
> > > release the restriction. Can't we?
> >
> > Yes you can, but I'm not sure it makes much sense to confuse the
> > comments with this.
> >
> > This really ends up in the 'you had better know what you're doing'
> > category.
>
> Partially agree with you. But why not add more explanation?
>
> If you think the comment confuse us, then it's ok to keep it itself.
>

It appears that you will only have your own users that will be doing
this, correct? How many use cases have no deletion? I wouldn't change
the generic comments on llist for something that's a one off and hardly
used.

-- Steve

\
 
 \ /
  Last update: 2018-07-31 15:47    [W:0.061 / U:0.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site