Re: What protection does sysfs_readdir have with SMP/Preemption?

From: Ingo Molnar
Date: Thu Nov 24 2005 - 09:34:36 EST



* Maneesh Soni <maneesh@xxxxxxxxxx> wrote:

> > I'm already playing around with this. You might want this patch instead.
> > I noticed that if sysfs_make_dirent fails to allocate the sd, then a
> > null will be passed to sysfs_put.

> Agreed. This makes more sense.

ok, i've applied Steven's patch.

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/