Skip to content

Instantly share code, notes, and snippets.

@pfactum
Created August 12, 2017 09:22
Show Gist options
  • Save pfactum/42b5067e5039f5122bed9deedb13f766 to your computer and use it in GitHub Desktop.
Save pfactum/42b5067e5039f5122bed9deedb13f766 to your computer and use it in GitHub Desktop.
(gdb) l *(skiplist_insert+0xc1)
0xffffffff81078e01 is in skiplist_insert (kernel/skip_list.c:128).
123 node->value = value;
124 do {
125 p = update[k];
126 node->next[k] = p->next[k];
127 p->next[k] = node;
128 node->prev[k] = p;
129 node->next[k]->prev[k] = node;
130 } while (--k >= 0);
131 }
132
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment