[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080114004959.0f533fef@lxorguk.ukuu.org.uk>
Date: Mon, 14 Jan 2008 00:49:59 +0000
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: nigel@...el.suspend2.net
Cc: nigel@...pend2.net, Pavel Machek <pavel@....cz>,
Russell King <rmk+lkml@....linux.org.uk>,
Linux Kernel List <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH: 2/2] [SERIAL] avoid stalling suspend if serial port
won't drain
> > Is printk() enough for 'we've just lost your data' condition? Maybe we
> > should abort suspend if we can't drain fifo?
>
> No way. Think about this from a users' perspective. No one wants suspend
> to ram or hibernate functionality that works sometimes and not others.
> They want it to work reliably so they don't have to worry about their
> laptop overheating while they're getting on the bus or airplane.
> Aborting isn't an option.
Dumb question on the printk however - what if the port that is sticking
is the console - don't we recurse and die ?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists