uprobes.c (7b46588f364f4f40c25f43ceabb6f705d20793e2) uprobes.c (388f79345502232d335467e8fa6f8e55a18844e1)
1/*
2 * User-space Probes (UProbes)
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *

--- 733 unchanged lines hidden (view full) ---

742 if (prev)
743 prev->next = NULL;
744 }
745 if (!prev) {
746 more++;
747 continue;
748 }
749
1/*
2 * User-space Probes (UProbes)
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *

--- 733 unchanged lines hidden (view full) ---

742 if (prev)
743 prev->next = NULL;
744 }
745 if (!prev) {
746 more++;
747 continue;
748 }
749
750 if (!atomic_inc_not_zero(&vma->vm_mm->mm_users))
750 if (!mmget_not_zero(vma->vm_mm))
751 continue;
752
753 info = prev;
754 prev = prev->next;
755 info->next = curr;
756 curr = info;
757
758 info->mm = vma->vm_mm;

--- 1286 unchanged lines hidden ---
751 continue;
752
753 info = prev;
754 prev = prev->next;
755 info->next = curr;
756 curr = info;
757
758 info->mm = vma->vm_mm;

--- 1286 unchanged lines hidden ---