Messages in this thread |  | | | Date | Fri, 8 Jan 2010 15:50:44 -0800 | | From | Andrew Morton <> | | Subject | Re: [PATCH] [1/9] Add rcustring ADT for RCU protected strings v2 |
| |
On Tue, 5 Jan 2010 03:15:26 +0100 (CET) Andi Kleen <andi@firstfloor.org> wrote:
> +extern char *alloc_rcu_string(int size, gfp_t gfp); > +extern void free_rcu_string(const char *string); > + > +/* > + * size must be the same as alloc_rcu_string, don't > + * use strlen on str! > + */ > +extern char *access_rcu_string(char **str, int size, gfp_t gfp);
I think better names would be rcu_string_alloc(), rcu_string_free() and rcu_string_access().
|  |