Re: [PATCH] Remove BKL from sysctl(2)

From: Ingo Molnar
Date: Tue Jan 22 2008 - 15:52:49 EST



* Alexey Dobriyan <adobriyan@xxxxxxxxx> wrote:

> /proc/sys part of sysctl code runs without BKL held, so BKL during
> sysctl(2) is useless. Remove misleading comment and "protection"
> around coredumping code -- kernel.core_pattern can be written without
> BKL.
>
> do_sysctl() and lookup in /proc/sys use identical iterators, so any
> locking bug BKL supposedly fixed in sysctl(2) code we should have in
> /proc/sys code anyway.
>
> Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx>

cool! You just shortened the grand 10-year-plan of BKL removal by at
least one year :-)

Acked-by: Ingo Molnar <mingo@xxxxxxx>

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/