Re: [TOMOYO 05/15](repost) Domain transition handler functions.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 3 Oct 2007, YOSHIFUJI Hideaki / µÈÆ£±ÑÌÀ wrote:

> In article <[email protected]> (at Wed, 3 Oct 2007 23:26:57 +0900), Tetsuo Handa <[email protected]> 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?

Doesn't matter.  No list should be able to grow without bounds in the 
kernel.

-- 
James Morris
<[email protected]>

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux