summarylogtreecommitdiffstats
path: root/uksm-patch-for-5.4.33+.patch
blob: 54b4101cfc3035f7ccbd15cc39a92302f87039a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- uksm-5.4.patch	2020-01-02 19:55:25.000000000 +0800
+++ uksm-5.4.33.patch	2020-04-29 17:04:58.000000000 +0800
@@ -80,7 +80,7 @@
 @@ -1384,6 +1385,7 @@ void setup_new_exec(struct linux_binprm * bprm)
  	/* An exec changes our domain. We are no longer part of the thread
  	   group */
- 	current->self_exec_id++;
+ 	WRITE_ONCE(current->self_exec_id, current->self_exec_id + 1);
 +
  	flush_signal_handlers(current, 0);
  }