From: Werner Almesberger <werner@almesberger.net>
To: user-mode-linux-devel@lists.sourceforge.net
Cc: user-mode-linux-user@lists.sourceforge.net
Subject: [uml-devel] hack: avoid "Registered protocol family 2" hang
Date: Fri, 5 Mar 2004 10:01:44 -0300 [thread overview]
Message-ID: <20040305100144.E26293@almesberger.net> (raw)
[-- Attachment #1: Type: text/plain, Size: 484 bytes --]
I've attached a little hack that should make the hang after
NET: Registered protocol family 2
disappear. This isn't the real solution (haven't yet figured
out how this is truly supposed to work on non-SMP), but it
gives me a happier UML :-)
- Werner
--
_________________________________________________________________________
/ Werner Almesberger, Buenos Aires, Argentina werner@almesberger.net /
/_http://www.almesberger.net/____________________________________________/
[-- Attachment #2: p --]
[-- Type: text/plain, Size: 371 bytes --]
--- linux-2.6.1-orig/arch/um/kernel/time_kern.c 2004-03-05 13:37:14.638203216 +0100
+++ linux-2.6.1/arch/um/kernel/time_kern.c 2004-03-05 13:14:03.159740096 +0100
@@ -172,6 +172,7 @@
update_process_times(user_context(UPT_SP(regs)));
local_irq_enable();
#endif
+ update_process_times(user_context(UPT_SP(regs)));
if(current_thread->cpu == 0)
timer_irq(regs);
}
next reply other threads:[~2004-03-05 13:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-05 13:01 Werner Almesberger [this message]
2004-03-05 13:56 ` [uml-devel] Re: [uml-user] hack: avoid "Registered protocol family 2" hang Jonathan Boler
2004-03-08 13:55 ` Werner Almesberger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040305100144.E26293@almesberger.net \
--to=werner@almesberger.net \
--cc=user-mode-linux-devel@lists.sourceforge.net \
--cc=user-mode-linux-user@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox