Messages in this thread | | | Date | Fri, 8 Feb 2002 13:31:07 +0100 | From | Christoph Hellwig <> | Subject | Re: [RFC] New locking primitive for 2.5 |
| |
In article <Pine.LNX.4.33.0202072305480.2976-100000@localhost.localdomain> you wrote: > i think one example *could* be to turn inode->i_sem into a combi-lock. Eg. > generic_file_llseek() could use the spin variant.
No. i_sem should be split into a spinlock for short-time accessed fields that get written to even if the file content is only read (i.e. atime) and a read-write semaphore.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |