Ravikiran G Thirumalai wrote:
On Thu, Mar 09, 2006 at 07:14:26PM +1100, Nick Piggin wrote:Ravikiran G Thirumalai wrote:Here's a patch making x86_64 local_t to 64 bits like other 64 bit arches.This keeps local_t unsigned long. (We can change it to signed value along with other arches later in one go I guess)Why not just keep naming and structure of interfaces consistent with atomic_t? That would be signed and 32-bit. You then also have a local64_t.No, local_t is supposed to be 64-bits on 64bits arches and 32 bit on 32 bit arches. x86_64 was the only exception, so this patch fixes that.
Right. If it wasn't I wouldn't have proposed the change. Considering that local_t has been broken so that basically nobody is using it, now is a great time to rethink the types before it gets fixed and people start using it. And modelling the type on the atomic types would make the most sense because everyone already knows them. -- SUSE Labs, Novell Inc.Send instant messages to your online friends http://au.messenger.yahoo.com -
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] 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 1/4] net: percpufy frequently used vars -- add percpu_counter_mod_bh
- From: Benjamin LaHaise <[email protected]>
- Re: [patch 1/4] net: percpufy frequently used vars -- add percpu_counter_mod_bh
- References:
- Re: [patch 1/4] net: percpufy frequently used vars -- add percpu_counter_mod_bh
- From: Benjamin LaHaise <[email protected]>
- Re: [patch 1/4] net: percpufy frequently used vars -- add percpu_counter_mod_bh
- From: Ravikiran G Thirumalai <[email protected]>
- Re: [patch 1/4] net: percpufy frequently used vars -- add percpu_counter_mod_bh
- From: Benjamin LaHaise <[email protected]>
- Re: [patch 1/4] net: percpufy frequently used vars -- add percpu_counter_mod_bh
- From: Ravikiran G Thirumalai <[email protected]>
- Re: [patch 1/4] net: percpufy frequently used vars -- add percpu_counter_mod_bh
- From: Benjamin LaHaise <[email protected]>
- Re: [patch 1/4] net: percpufy frequently used vars -- add percpu_counter_mod_bh
- From: Andrew Morton <[email protected]>
- Re: [patch 1/4] net: percpufy frequently used vars -- add percpu_counter_mod_bh
- From: Ravikiran G Thirumalai <[email protected]>
- Re: [patch 1/4] net: percpufy frequently used vars -- add percpu_counter_mod_bh
- From: Andrew Morton <[email protected]>
- Re: [patch 1/4] net: percpufy frequently used vars -- add percpu_counter_mod_bh
- From: Ravikiran G Thirumalai <[email protected]>
- Re: [patch 1/4] net: percpufy frequently used vars -- add percpu_counter_mod_bh
- From: Nick Piggin <[email protected]>
- Re: [patch 1/4] net: percpufy frequently used vars -- add percpu_counter_mod_bh
- From: Ravikiran G Thirumalai <[email protected]>
- Re: [patch 1/4] net: percpufy frequently used vars -- add percpu_counter_mod_bh
- Prev by Date: Re: [patch 1/4] net: percpufy frequently used vars -- add percpu_counter_mod_bh
- Next by Date: Re: 2.6.15-rt20, "bad page state", jackd
- Previous by thread: Re: [patch 1/4] net: percpufy frequently used vars -- add percpu_counter_mod_bh
- Next by thread: Re: [patch 1/4] net: percpufy frequently used vars -- add percpu_counter_mod_bh
- Index(es):