Commit 3673167
Revert "selftests/mm: replace atomic_bool with pthread_barrier_t"
This reverts commit e61ef21.
uffd_poll_thread may be called by other tests that do not initialize the
pthread_barrier, so this approach is not correct. This will revert to
using atomic_bool instead.
Link: https://lkml.kernel.org/r/[email protected]
Fixes: e61ef21 ("selftests/mm: replace atomic_bool with pthread_barrier_t")
Signed-off-by: Edward Liaw <[email protected]>
Cc: Ryan Roberts <[email protected]>
Cc: Peter Xu <[email protected]>
Cc: Shuah Khan <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>1 parent 5bb1f4c commit 3673167
File tree
3 files changed
+10
-12
lines changed- tools/testing/selftests/mm
3 files changed
+10
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
519 | 519 | | |
520 | 520 | | |
521 | 521 | | |
522 | | - | |
523 | | - | |
| 522 | + | |
524 | 523 | | |
525 | 524 | | |
526 | 525 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
104 | 105 | | |
105 | 106 | | |
106 | 107 | | |
107 | | - | |
| 108 | + | |
108 | 109 | | |
109 | 110 | | |
110 | 111 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
774 | 774 | | |
775 | 775 | | |
776 | 776 | | |
777 | | - | |
| 777 | + | |
778 | 778 | | |
779 | 779 | | |
780 | 780 | | |
| |||
791 | 791 | | |
792 | 792 | | |
793 | 793 | | |
794 | | - | |
795 | | - | |
796 | | - | |
| 794 | + | |
| 795 | + | |
797 | 796 | | |
798 | 797 | | |
799 | 798 | | |
| |||
834 | 833 | | |
835 | 834 | | |
836 | 835 | | |
837 | | - | |
| 836 | + | |
838 | 837 | | |
839 | 838 | | |
840 | 839 | | |
| |||
845 | 844 | | |
846 | 845 | | |
847 | 846 | | |
848 | | - | |
849 | | - | |
850 | | - | |
| 847 | + | |
| 848 | + | |
851 | 849 | | |
852 | 850 | | |
853 | 851 | | |
| |||
0 commit comments