Skip to content
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

Remove unnecessary delete() in sync_timing.py #651

Merged
merged 1 commit into from
Aug 9, 2016

Conversation

pchaigno
Copy link
Contributor

@pchaigno pchaigno commented Aug 8, 2016

This pull request removes an unnecessary .delete(&key) in sync_timing.py and updates the tutorial accordingly.

@drzaeus77
Copy link
Collaborator

ok to test

@4ast
Copy link
Member

4ast commented Aug 8, 2016

the delete() is actually necessary at the moment due to the kernel bug in the update() that was introduced in May and bugfix wasn't merged yet.
Otherwise update() will eventually fill the whole map and new updates will stop working.

@drzaeus77
Copy link
Collaborator

Link to bugfix?

Also, in that case, @pchaigno could you update this PR to be a comment mentioning the reason for the extra .delete().

@pchaigno
Copy link
Contributor Author

pchaigno commented Aug 8, 2016

Thanks for the explanation @4ast!

@drzaeus77 I'm on it!

@4ast
Copy link
Member

4ast commented Aug 8, 2016

link to bugfix

https://git.kernel.org/cgit/linux/kernel/git/davem/net.git/commit/?id=a6ed3ea65d9868fdf9eff84e6fe4f666b8d14b02
it's in net tree, but not in Linus tree yet.

@pchaigno pchaigno force-pushed the sync_timing-delete branch from bc67051 to 1c41529 Compare August 9, 2016 07:46
@pchaigno
Copy link
Contributor Author

pchaigno commented Aug 9, 2016

Pull request updated!

@4ast 4ast merged commit 1e45e67 into iovisor:master Aug 9, 2016
@pchaigno pchaigno deleted the sync_timing-delete branch August 9, 2016 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants