Re: [PATCH 3/4] coredump: ELF-FDPIC: enable to omit anonymous shared memory

From: David Howells
Date: Thu Feb 22 2007 - 06:49:04 EST


Kawai, Hidehiro <hidehiro.kawai.ez@xxxxxxxxxxx> 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/