Re: **** LVM 0.8final patch vs. 2.3.99-pre3 ***

From: Heinz Mauelshagen (mauelsha@EZ-Darmstadt.telekom.de)
Date: Wed Apr 05 2000 - 05:47:16 EST


> Did you check the vmalloc() call in lvm_proc_get_info()?

Yes i did but didn't take it into the patch :-{(

Heinz

>
> AFAICS, lock_kernel() is missing: vmalloc() is protected by the big kernel
> lock, and in 2.3 the vfs read functions are called _without_ that lock.
>
> the vmalloc() in lvm_do_lv_create() should be OK, it's called from an
> ioctl(), and they still run with the big kernel lock.
>
> --
> Manfred
>

-- 

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Systemmanagement TS T-Nova Entwicklungszentrum Darmstadt Heinz Mauelshagen Otto-Roehm-Strasse 71c Senior Systems Engineer Postfach 10 05 41 64205 Darmstadt mge@EZ-Darmstadt.Telekom.de Germany +49 6151 886-425 FAX-386 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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



This archive was generated by hypermail 2b29 : Fri Apr 07 2000 - 21:00:14 EST