Tetsuo Handa
c96fc2d85f
signal: make oom_flags a bool
...
Currently the size of "struct signal_struct"->oom_flags member is
sizeof(unsigned) bytes, but only one flag OOM_FLAG_ORIGIN which is
updated by current thread is defined. We can convert OOM_FLAG_ORIGIN
into a bool, and reuse the saved bytes for updating from the OOM killer
and/or the OOM reaper thread.
By the way, do we care about a race window between run_store() and
swapoff() because it would be theoretically possible that two threads
sharing the "struct signal_struct" concurrently call respective
functions? If we care, we can make oom_flags an atomic_t.
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp >
Cc: Hugh Dickins <hughd@google.com >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2016-05-23 17:04:14 -07:00
..
2016-05-09 11:07:28 +02:00
2016-05-09 16:18:37 +02:00
2016-05-17 10:15:34 +05:30
2016-05-19 11:27:09 -07:00
2016-05-20 21:12:25 -07:00
2016-05-05 23:23:05 -04:00
2016-05-20 14:35:07 -07:00
2016-05-20 19:40:35 -04:00
2016-05-21 10:32:48 -07:00
2016-05-17 12:29:34 -04:00
2016-05-17 18:06:18 +01:00
2016-05-18 13:14:02 -07:00
2016-05-04 10:25:58 -07:00
2016-05-16 16:45:48 +02:00
2016-05-05 09:58:52 +02:00
2016-05-18 18:46:55 -07:00
2016-05-04 23:41:14 +02:00
2016-05-13 14:01:43 +02:00
2016-05-05 13:03:29 -06:00
2016-05-09 09:24:02 -07:00
2016-05-17 16:03:32 -07:00
2016-05-10 08:41:37 -06:00
2016-05-19 19:12:14 -07:00
2016-05-20 17:58:30 -07:00
2016-05-19 19:12:14 -07:00
2016-05-19 19:12:14 -07:00
2016-05-06 14:58:25 +02:00
2016-05-06 14:58:25 +02:00
2016-05-06 14:58:22 +02:00
2016-05-19 19:12:14 -07:00
2016-05-13 14:01:59 +02:00
2016-05-17 02:17:59 -04:00
2016-05-19 19:12:14 -07:00
2016-05-20 21:26:15 -07:00
2016-05-09 15:33:29 +02:00
2016-05-09 15:33:29 +02:00
2016-05-20 17:58:30 -07:00
2016-05-16 13:49:32 -04:00
2016-05-20 21:26:15 -07:00
2016-05-07 10:32:33 -07:00
2016-05-19 19:12:14 -07:00
2016-05-17 17:11:27 -07:00
2016-05-20 17:58:30 -07:00
2016-05-10 15:43:09 -04:00
2016-05-20 17:58:30 -07:00
2016-05-19 19:12:14 -07:00
2016-05-20 17:58:30 -07:00
2016-05-19 19:12:14 -07:00
2016-05-20 17:58:30 -07:00
2016-05-04 22:39:17 +02:00
2016-05-04 22:39:17 +02:00
2016-05-09 19:39:17 +02:00
2016-05-16 15:12:02 -05:00
2016-05-11 19:31:40 -04:00
2016-05-11 22:37:54 +02:00
2016-05-16 11:14:29 -04:00
2016-05-20 17:58:30 -07:00
2016-05-20 17:58:30 -07:00
2016-05-20 22:20:48 -07:00
2016-05-20 21:26:15 -07:00
2016-05-18 18:04:27 +02:00
2016-05-06 10:26:07 +02:00
2016-05-06 12:51:10 -06:00
2016-05-17 12:06:35 +02:00
2016-05-16 14:47:16 -07:00
2016-05-19 09:21:36 -07:00
2016-05-20 17:58:30 -07:00
2016-05-19 19:12:14 -07:00
2016-05-19 19:12:14 -07:00
2016-05-19 19:12:14 -07:00
2016-05-19 19:12:14 -07:00
2016-05-20 17:58:30 -07:00
2016-05-20 17:58:30 -07:00
2016-05-20 17:58:30 -07:00
2016-05-10 23:56:28 -04:00
2016-05-20 18:03:15 -04:00
2016-05-20 18:03:15 -04:00
2016-05-17 15:05:23 -07:00
2016-05-09 11:39:45 -04:00
2016-05-23 17:04:14 -07:00
2016-05-19 19:12:14 -07:00
2016-05-12 07:07:42 -05:00
2016-05-16 07:22:35 -05:00
2016-05-09 15:33:29 +02:00
2016-05-20 14:51:34 -07:00
2016-05-23 17:04:14 -07:00
2016-05-19 19:12:14 -07:00
2016-05-19 19:12:14 -07:00
2016-05-20 17:58:30 -07:00
2016-05-20 17:58:30 -07:00
2016-05-19 13:10:54 -07:00
2016-05-20 17:58:30 -07:00
2016-05-17 16:26:30 -07:00
2016-05-10 15:06:19 -04:00
2016-05-05 01:38:44 +02:00
2016-05-19 19:12:14 -07:00
2016-05-20 17:58:30 -07:00
2016-05-20 17:58:30 -07:00
2016-05-20 17:58:30 -07:00
2016-05-12 15:50:19 -07:00
2016-05-06 11:09:00 -07:00
2016-05-23 17:04:14 -07:00
2016-05-17 14:41:03 -07:00
2016-05-19 10:02:26 -07:00
2016-05-20 19:58:32 -04:00
2016-05-19 19:12:14 -07:00
2016-05-19 19:12:14 -07:00
2016-05-08 23:46:14 -04:00
2016-05-19 19:12:14 -07:00
2016-05-20 17:58:30 -07:00
2016-05-20 17:58:30 -07:00
2016-05-19 19:12:14 -07:00
2016-05-18 18:55:19 -07:00
2016-05-20 20:57:27 -07:00
2016-05-23 17:04:14 -07:00
2016-05-04 16:55:11 -04:00
2016-05-20 17:58:30 -07:00
2016-05-20 17:58:30 -07:00
2016-05-19 19:12:14 -07:00
2016-05-20 17:58:30 -07:00