-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
port-mm-code #47
base: master
Are you sure you want to change the base?
port-mm-code #47
Conversation
jyizheng
commented
Jun 27, 2015
merge master
@jyizheng I can't reproduce the travis CI issue, which said the followings. https://travis-ci.org/libos-nuse/net-next-nuse/builds/68581850#L2497
mine is Fedora 21 x86_64. could you please let me know the stack trace obtained by gdb ? |
First of all, I need to confirm whether I have set the nuse.conf file correctly. yjiao@rowlf:/home/yjiao/net-next-nuse/arch/lib/tools$ ifconfig eth0:0 Link encap:Ethernet HWaddr bc:ae:c5:6b:49:91 lo Link encap:Local Loopback "route -n": yjiao@rowlf:/home/yjiao/net-next-nuse/arch/lib/tools$ route -n My nuse.conf file looks like this: With this configuration file, I cannot run "ping google", for which the terminal got stuck without return with message below: |
This line should be |
Is it possible for you to log on my machine to diagnose the problem? I can On Mon, Jun 29, 2015 at 1:48 PM, Hajime Tazaki notifications@github.com
|
before creating an account for me, please check the followings:
|
Cannot pass the test due to things related to "rumpns_oom_lock". |
@jyizheng 'rumpns_' is a prefix introduced by recently. See 751adb6 commit. it basically says the symbol 'oom_lock' is not included though it's referred by someone. |
I see. page_alloc.c is using oom_lock now. I will try to fix it. On Tue, Sep 1, 2015 at 7:38 PM, Hajime Tazaki notifications@github.com
|
mm/bootmem.c
Outdated
@@ -48,7 +48,7 @@ static int __init bootmem_debug_setup(char *buf) | |||
early_param("bootmem_debug", bootmem_debug_setup); | |||
|
|||
#define bdebug(fmt, args...) ({ \ | |||
if (unlikely(bootmem_debug)) \ | |||
if (unlikely(bootmem_debug)) \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
revert unchanged white-spaces.
@jyizheng thanks for the update. I think we need a couple of rounds to clean up more.
I briefly memorized the general guideline for a pull request for this project. https://github.com/libos-nuse/net-next-nuse/wiki/Pull-request-guideline thank you for your time. |
2)Use symbolic link in arch/lib/include 3)Resolve ERRORs reported by checkpatch.pl
arch/lib/Makefile
Outdated
@@ -127,7 +128,7 @@ quiet_cmd_objsmk = OBJS-MK $@ | |||
done > $@ | |||
|
|||
$(ARCH_DIR)/objs.mk: $(ARCH_DIR)/Makefile.print $(srctree)/.config $(ARCH_DIR)/Makefile | |||
+$(call if_changed,objsmk) | |||
+$(call if_changed,objsmk); \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
delete "; " at the end of line
(I meant revert it as it was.)
@jyizheng I've commented on your patch. I would remind the followings again: please update them as well.
|
Updated my code again and renamed the pull request and deleted the old ones. |
thanks @jyizheng, I've tried to play locally with your patch. |
I agree. I think I can write a test case that calling APIs in page_alloc.c On Tue, Sep 8, 2015 at 1:05 AM, Hajime Tazaki notifications@github.com
|
Great ! |
Where do you want me to add the test? I don't have the scripts for testing. Best, On Wed, Sep 9, 2015 at 10:44 AM, Hajime Tazaki notifications@github.com
|
What about creating a program in tools/testing/libos and calling from nuse-test.sh ? |