Kawai, Hidehiro <[EMAIL PROTECTED]> wrote: > Okay, the probability that the process is blocked in the proc handler seems > to be small. But I'm not sure if problems never occur in enterprise use. > So I'd like to use down_write_trylock() as Robin said before. And if it > fails to acquire the lock, it returns EBUSY immediately. > Do you have any comments?
That's probably reasonable, but that means userspace then has to handle EBUSY. David - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/