mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* RE: [BUG?] 2.6.x (2.6.13) - new signals not being delivered to aterminating (PF_EXITING) process.
@ 2005-10-12  0:44 Kilau, Scott
  2005-10-12 12:55 ` Alan Cox
  0 siblings, 1 reply; 2+ messages in thread
From: Kilau, Scott @ 2005-10-12  0:44 UTC (permalink / raw)
  To: Alan Cox; +Cc: linux-os (Dick Johnson), Linux Kernel Mail List



> It seems that the signal reception in exiting process logic has
changed.
> Serial depends on the old behaviour and its difficult to see how it
> should be fixed and what else would be "correct behaviour" here.

> Alan

Hi Alan,

That's what I was wondering.
Thanks for confirming it.

Do you know if there was any particular reason why it was changed that
signals can't be delivered to an exiting process in 2.6?
Was there maybe some sort of race, and this was the best way to resolve
it?

Using "setserial" to set a timeout value to bail is just "not right".

In most cases, people do NOT want the data to be tossed away after
the timeout expires.

Imagine a printer stuck in a hardware flow control state because the
printer ran out of paper.
The user would end up losing the tail end of their print job!

Setting a infinite timeout value with setserial is also bad.
Without being able to take a 2nd+ signal, the port ends up being stuck
forever.
Only a reboot, or a reassertion of CTS would "fix" it.

Scott

^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: [BUG?] 2.6.x (2.6.13) - new signals not being delivered to aterminating (PF_EXITING) process.
  2005-10-12  0:44 [BUG?] 2.6.x (2.6.13) - new signals not being delivered to aterminating (PF_EXITING) process Kilau, Scott
@ 2005-10-12 12:55 ` Alan Cox
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Cox @ 2005-10-12 12:55 UTC (permalink / raw)
  To: Kilau, Scott; +Cc: linux-os (Dick Johnson), Linux Kernel Mail List

> Do you know if there was any particular reason why it was changed that
> signals can't be delivered to an exiting process in 2.6?
> Was there maybe some sort of race, and this was the best way to resolve
> it?

I have no idea. It may be a change due to the threaded signal support.
Ask whoever hacked up the signal code last I guess.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-10-12 12:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-12  0:44 [BUG?] 2.6.x (2.6.13) - new signals not being delivered to aterminating (PF_EXITING) process Kilau, Scott
2005-10-12 12:55 ` Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome