[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <b6fcc0a0912202357g269722f2ra2cb136396e8186e@mail.gmail.com>
Date: Mon, 21 Dec 2009 09:57:32 +0200
From: Alexey Dobriyan <adobriyan@...il.com>
To: andi@...stfloor.org
Cc: linux-kernel@...r.kernel.org, ebiederm@...ssion.com,
paulmck@...ux.vnet.ibm.com
Subject: Re: [PATCH] [0/11] SYSCTL: Use RCU to avoid races with string sysctls
> new = alloc_rcu_string(MAX_GLOBAL_SIZE, GFP_KERNEL);
I think adding failure mode is not right.
We can get away with per-sysctl-string spinlock and not introduce yet
another API.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists