Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add core version of XDPLua #13

Open
wants to merge 3 commits into
base: xdp_lua_core_version_base
Choose a base branch
from

Conversation

VictorNogueiraRio
Copy link
Owner

No description provided.

net/core/dev.c Outdated
@@ -9857,6 +9963,23 @@ static int __init net_dev_init(void)
init_gro_hash(&sd->backlog);
sd->backlog.poll = process_backlog;
sd->backlog.weight = weight_p;

new_state_cpu = (lua_state_cpu *) kmalloc(sizeof(lua_state_cpu),
GFP_KERNEL);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if GFP_KERNEL can be used in this context

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You think it needs to be GFP_ATOMIC?

@VictorNogueiraRio VictorNogueiraRio force-pushed the xdp_lua_core_version_base branch 2 times, most recently from 601992d to cf6afad Compare August 16, 2019 22:21
@VictorNogueiraRio VictorNogueiraRio force-pushed the xdp_lua_core_version branch 2 times, most recently from 7b9fa04 to 752c983 Compare August 16, 2019 22:35
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants