Eric Dumazet <[email protected]> wrote: > > > > > Once you're done with that we should change fget_light() and fput_light() to > > use this helper. Separate patch. > > Hum... this discussion is not relevant with fget_light() unless I mistaken. Take a look. fget_light() uses essentially the same test as you do, for the same reason. So it's appropriate that fget_light() use this new helper rather than open-coding it. - 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/
- References:
- Re: More than 8 CPUs detected and CONFIG_X86_PC cannot handle it on 2.6.16-rc6
- From: Nathan Lynch <[email protected]>
- Re: More than 8 CPUs detected and CONFIG_X86_PC cannot handle it on 2.6.16-rc6
- From: Shaohua Li <[email protected]>
- Re: More than 8 CPUs detected and CONFIG_X86_PC cannot handle it on 2.6.16-rc6
- From: Andrew Morton <[email protected]>
- [PATCH] No need to protect current->group_info in sys_getgroups(), in_group_p() and in_egroup_p()
- From: Eric Dumazet <[email protected]>
- [PATCH] Use unsigned int types for a faster bsearch
- From: Eric Dumazet <[email protected]>
- [PATCH] Use __read_mostly on some hot fs variables
- From: Eric Dumazet <[email protected]>
- [RFC, PATCH] avoid some atomics in open()/close() for monothreaded processes
- From: Eric Dumazet <[email protected]>
- Re: [RFC, PATCH] avoid some atomics in open()/close() for monothreaded processes
- From: Andrew Morton <[email protected]>
- Re: [RFC, PATCH] avoid some atomics in open()/close() for monothreaded processes
- From: Eric Dumazet <[email protected]>
- Re: More than 8 CPUs detected and CONFIG_X86_PC cannot handle it on 2.6.16-rc6
- Prev by Date: Re: 2.6.16-rc5: known regressions [TP 600X S3, vanilla DSDT]
- Next by Date: Re: [PATCH] initramfs: CPIO unpacking fix
- Previous by thread: Re: [RFC, PATCH] avoid some atomics in open()/close() for monothreaded processes
- Next by thread: Re: More than 8 CPUs detected and CONFIG_X86_PC cannot handle it on 2.6.16-rc6
- Index(es):