From 6e486e8b28f68cf608979e373c74433e34a89da6 Mon Sep 17 00:00:00 2001 From: Andrea Arcangeli Date: Tue, 1 Feb 2005 16:33:43 -0800 Subject: [PATCH] mm: convert memdie to an atomic thread bitflag This makes memdie a TIF_MEMDIE. memdie will not be modified by the current task, so it cannot be a PF_MEMDIE but it must be a TIF_MEMDIE. Signed-off-by: Andrea Arcangeli Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- include/linux/sched.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'include/linux') diff --git a/include/linux/sched.h b/include/linux/sched.h index c34c9671b030..cf7394b25af5 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -614,11 +614,6 @@ struct task_struct { struct key *process_keyring; /* keyring private to this process (CLONE_THREAD) */ struct key *thread_keyring; /* keyring private to this thread */ #endif -/* - * All archs should support atomic ops with - * 1 byte granularity. - */ - unsigned char memdie; /* * Must be changed atomically so it shouldn't be * be a shareable bitflag. -- cgit v1.2.3