Re: [PATCH] coredump: Retry writes where appropriate
From: Roland McGrath
Date: Thu Jun 04 2009 - 13:17:09 EST
> Fortunately, this doesn't look hard. Whatever we do, we should modify
> dump_write/seek to check fatal_signal_pending() anyway. Because we can't
> know if f_ops->write() pays attention to signals.
Yes, that sounds fine.
> This means we can just add try_to_freeze().
Right.
> As for exit_mm(), we can use freezer_do_not_count() + freezer_count()
> around the "for (;;)" loop.
Ah yes, sure.
Thanks,
Roland
--
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/