On Thu, Aug 25, 2005 at 11:17:23AM +0200, Eric Dumazet wrote: > >But that's not true. You need to write you own sysctl handler for it, > >probably worth adding a generic atomic_t sysctl handler while you're > >at it. > > > > I checked linux-2.6.13-rc7 tree, and atomic_read() is just a wrapper to > read v->counter. That doesn't matter. atomic_t is an opaqueue type and you must use the atomic_* interfaces to access it. - 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/
- Follow-Ups:
- Re: [PATCH] removes filp_count_lock and changes nr_files type to atomic_t
- From: Eric Dumazet <dada1@cosmosbay.com>
- Re: [PATCH] removes filp_count_lock and changes nr_files type to atomic_t
- References:
- [patch] Additions to .data.read_mostly section
- From: Ravikiran G Thirumalai <kiran@scalex86.org>
- Re: [patch] Additions to .data.read_mostly section
- From: Arjan van de Ven <arjan@infradead.org>
- [PATCH] removes filp_count_lock and changes nr_files type to atomic_t
- From: Eric Dumazet <dada1@cosmosbay.com>
- Re: [PATCH] removes filp_count_lock and changes nr_files type to atomic_t
- From: Christoph Hellwig <hch@infradead.org>
- Re: [PATCH] removes filp_count_lock and changes nr_files type to atomic_t
- From: Eric Dumazet <dada1@cosmosbay.com>
- [patch] Additions to .data.read_mostly section
- Prev by Date: Re: [PATCH] removes filp_count_lock and changes nr_files type to atomic_t
- Next by Date: Re: [PATCH 00/15] Remove asm/segment.h from low hanging architectures
- Previous by thread: Re: [PATCH] removes filp_count_lock and changes nr_files type to atomic_t
- Next by thread: Re: [PATCH] removes filp_count_lock and changes nr_files type to atomic_t
- Index(es):
