[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20071003.233249.126777093.yoshfuji@linux-ipv6.org>
Date: Wed, 03 Oct 2007 23:32:49 +0900 (JST)
From: YOSHIFUJI Hideaki / 吉藤英明
<yoshfuji@...ux-ipv6.org>
To: penguin-kernel@...ove.SAKURA.ne.jp
Cc: a.p.zijlstra@...llo.nl, kaigai@...gai.gr.jp, jmorris@...ei.org,
linux-kernel@...r.kernel.org,
linux-security-module@...r.kernel.org, chrisw@...s-sol.org,
yoshfuji@...ux-ipv6.org
Subject: Re: [TOMOYO 05/15](repost) Domain transition handler functions.
In article <200710032326.FJF32915.OQOOHLMtFSFJFV@...ove.SAKURA.ne.jp> (at Wed, 3 Oct 2007 23:26:57 +0900), Tetsuo Handa <penguin-kernel@...ove.SAKURA.ne.jp> says:
> Peter Zijlstra wrote:
> > Also, how do you avoid referencing dead data with your sll? I haven't
> > actually looked at your patches, but the simple scheme you outlined
> > didn't handle the iteration + concurrent removal scenario:
> Regarding my singly-linked list, no entries are removed from the list. It's append only (like CD-R media).
> I set is_deleted flag of a entry instead of removing the entry from the list.
It is not a good practice. Please free such objects.
BTW, how many objects do you have in the list?
--yoshfuji
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists