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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Tetsuo Handa
Date: Wednesday, October 3, 2007 - 6:04 am

James Morris wrote:
Too bad...

Well, is there a way to avoid read_lock when reading list?

Currently, TOMOYO Linux avoids read_lock, on the assumption that
(1) First, ptr->next is initialized with NULL.
(2) Later, ptr->next is assigned non-NULL address.
(3) Assigning to ptr->next is done atomically.

Regards.

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[TOMOYO 06/15](repost) Auditing interface., Kentaro Takeda, (Tue Oct 2, 12:33 am)
[TOMOYO 07/15](repost) File access control functions., Kentaro Takeda, (Tue Oct 2, 12:34 am)
[TOMOYO 08/15](repost) Argv[0] access control functions., Kentaro Takeda, (Tue Oct 2, 12:35 am)
[TOMOYO 12/15](repost) LSM adapter for TOMOYO., Kentaro Takeda, (Tue Oct 2, 12:38 am)
[TOMOYO 13/15](repost) Conditional permission support., Kentaro Takeda, (Tue Oct 2, 12:39 am)
[TOMOYO 14/15](repost) LSM expansion for TOMOYO Linux., Kentaro Takeda, (Tue Oct 2, 12:39 am)
Re: [TOMOYO 05/15](repost) Domain transition handler funct ..., YOSHIFUJI Hideaki / , (Tue Oct 2, 6:00 am)
Re: [TOMOYO 05/15](repost) Domain transition handler funct ..., YOSHIFUJI Hideaki / , (Wed Oct 3, 4:43 am)
Re: [TOMOYO 05/15](repost) Domain transition handler funct ..., Tetsuo Handa, (Wed Oct 3, 6:04 am)
Re: [TOMOYO 05/15](repost) Domain transition handler funct ..., YOSHIFUJI Hideaki / , (Wed Oct 3, 6:11 am)
Re: [TOMOYO 05/15](repost) Domain transition handler funct ..., YOSHIFUJI Hideaki / , (Wed Oct 3, 7:32 am)
Sleeping in RCU list traversal, Tetsuo Handa, (Sun Oct 7, 3:38 am)